Black Lives Matter. Please consider donating to Black Girls Code today.

Callbacks with subelements into other main elements

I’m developing a dinamic page in dash. In the layout, there is one element that contains other subelements with different ids depending on the tab I have selected.

If we wanted to implement a callback with takes the State of those subelements, is there anyway to concatenate the id of the main element and then the subelement id or do I have to put all the subelements ids of all the tabs in the callback definition?

Thank you!