Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request - all components #3

Open
SteveHawes opened this issue Oct 5, 2017 · 0 comments
Open

Feature request - all components #3

SteveHawes opened this issue Oct 5, 2017 · 0 comments

Comments

@SteveHawes
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant