We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 suggestion : add to options the ability to set an id and or class to the dialogue.
Ex param : var params = {modalId = 'my-modal-id', modalclass = 'my-modal-class' } Ex modal :
It will help a lot to modify modal contextually. Thanks
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
You can access the element, do you really need the id?
var promiseAndMore = eModal.alert('Hello Jack', 'From Madam'); promiseAndMore.element .find('modal-body') .addClass('my-very-cool-animation');
In the returned object from eModal execution, you get the jQuery DOM element reference. You can do what ever you what with it.
But by the id or class could be helpful for you?
Any update on this?
Can you give me an example why should we add this feature?
because sometimes we need to check if the modal is shown or hidden and do stuff based on that
Now it is possible to set id on eModal
eModal.setId('your-id');
saribe
No branches or pull requests
Feature suggestion : add to options the ability to set an id and or class to the dialogue.
Ex param : var params = {modalId = 'my-modal-id', modalclass = 'my-modal-class' }
Ex modal :
It will help a lot to modify modal contextually.
Thanks
The text was updated successfully, but these errors were encountered: