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

Provide public methods #26

Open
glebkema opened this issue Nov 7, 2019 · 0 comments
Open

Provide public methods #26

glebkema opened this issue Nov 7, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@glebkema
Copy link
Owner

glebkema commented Nov 7, 2019

It is necessary to make the options selected, hidden / visible and disabled / enabled by special methods from external scripts without knowledge of the CSS classes used by the plugin.

Something like this:

var selectSomething = $('.select-something).stylizeSelect();
selectSomething.getOption('value').makeDisabled();

Or maybe like this:

$('.select-something).stylizeSelect();
$('.select-something).getOption('value').makeDisabled();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant