You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm implementing a fullscreen button where, upon button click, I'm trying to add or remove a class to ModalInstance.Options.Class.
I've verified that the property is being updated, but the dom is not. How can I update the class list so that it updates the dom?
Alternatively, how do I get the id of the element so that I can update the class list in javascript?
I tried using ModalInstance.Id but that doesn't match the id that's on the element.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm implementing a fullscreen button where, upon button click, I'm trying to add or remove a class to ModalInstance.Options.Class.
I've verified that the property is being updated, but the dom is not. How can I update the class list so that it updates the dom?
Alternatively, how do I get the id of the element so that I can update the class list in javascript?
I tried using ModalInstance.Id but that doesn't match the id that's on the element.
Beta Was this translation helpful? Give feedback.
All reactions