Uses of Class
run.undead.js.JS
Packages that use JS
-
Uses of JS in run.undead.js
Methods in run.undead.js that return JSModifier and TypeMethodDescriptionaddClass adds css classes to DOM elementsJS.addClass(AddClassOpts addClassOpts) addClass adds css classes to DOM elementsdispatch dispatches an event to the DOMJS.dispatch(DispatchOpts dispatchOpts) dispatch dispatches an event to the DOMexec executes JS commands located in element attributesexec executes JS commands located in element attributesJS.focus()focus sends focus to a selectorfocus sends focus to a selectorJS.focusFirst()focusFirst sends focus to the first focusable child in selectorJS.focusFirst(FocusFirstOpts focusFirstOpts) focusFirst sends focus to the first focusable child in selectorJS.hide()hide makes DOM elements invisiblehide makes DOM elements invisiblenavigate sends a navigation event to the server and updates the browser's pushState history.JS.navigate(NavigateOpts navigateOpts) navigate sends a navigation event to the server and updates the browser's pushState history.patch sends a patch event to the serverpatch sends a patch event to the serverJS.popFocus()popFocus focuses the last pushed elementpush sends an event to the serverpush sends an event to the serverpushFocus pushes focus from the source element to be later poppedJS.pushFocus(PushFocusOpts pushFocusOpts) pushFocus pushes focus from the source element to be later poppedJS.removeAttr(String name) removeAttr removes an attribute from a DOM elementJS.removeAttr(RemoveAttrOpts removeAttrOpts) removeAttr removes an attribute from a DOM elementJS.removeClass(String classNames) removeClass removes css classes from DOM elementsJS.removeClass(RemoveClassOpts removeClassOpts) removeClass removes css classes from DOM elementssetAttr sets an attribute on a DOM elementJS.setAttr(SetAttrOpts setAttrOpts) setAttr sets an attribute on a DOM elementJS.show()show makes DOM elements visibleshow makes DOM elements visibleJS.toggle()toggle toggles the visibility of DOM elementsJS.toggle(ToggleOpts toggleOpts) toggle toggles the visibility of DOM elementsJS.transition(TransitionOpts transitionOpts) transition applies a css transition to a DOM element