Every app views, app dialog and app frames, every controls inside them, have their own identifiers and classes so we can apply certain customized CSS style if we wanted, as well to refer to it in some piece of JavaScript code, again, if we needed. Here in this help topic we will try to explain how these identifiers and classes are so you can use them in case you need it.
All the app views and app dialogs are inside a "div" HTML element which will have the "app-view" and "app-dialog" classes, respectively. Additionally, all the app views and app dialogs have their own unique identifier, which match with the app views and app dialogs names. Take a look at the below code examples:
The case of the app frames is a bit different, but, not complicated. The app frames itself do not have an identifier, since they are always used inside a Frame control. Even the same appapp frame can more than one time be inside a the same app view or app dialog, but, they are inside their unique Frame controls. So these controls have their own identifier, not the app frame itself. However, these controls have also a class "app-frame". So take a look at the below code examples:
As we referred above, all the controls have their own identifiers, which match with their names. Take in consideration, however, that a "button1" control can exist in more than one app view, app dialog or app view. So, just take a look at the below code examples:
The app controls inside app frames do not have usable identifiers: they have, of course, but, used only internally by the app in order to positioned it, etc. However, of course it's possible to refer to this controls too, but using classes instead of identifiers. These classes are composed by the name of the app frames and the name of the controls in this way: ".[frame name]-[control name]". Just take a look at the below code examples: