Currently we can add or remove a style class from the component using:
elements["componentName"].addStyleClass("style-name"); elements["componentName"].removeStyleClass("style-name");
The above method works but doesn't give strong typing of the element name as it would if we use:
elements.componentName.addStyleClass("style-name"); elements.componentName.removeStyleClass("style-name");
The issue is that the second way of doing it results in build markers. This applies to all the standard methods that can be used on an element. Can we have all these methods added as valid methods for the components as well so that build markers are not shown please?
Thanks
Steve
Currently we can add or remove a style class from the component using:
elements["componentName"].addStyleClass("style-name"); elements["componentName"].removeStyleClass("style-name");The above method works but doesn't give strong typing of the element name as it would if we use:
elements.componentName.addStyleClass("style-name"); elements.componentName.removeStyleClass("style-name");The issue is that the second way of doing it results in build markers. This applies to all the standard methods that can be used on an element. Can we have all these methods added as valid methods for the components as well so that build markers are not shown please?
Thanks
Steve