Package run.undead.js
Class AddClassOpts
java.lang.Object
run.undead.js.AddClassOpts
- All Implemented Interfaces:
Cmd
AddClassOpts are the options for the add_class JS command.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAddClassOpts(String classNames) AddClassOpts accepts css class names and adds them to element being targetedAddClassOpts(String classNames, String to) AddClassOpts accepts css class names and a DOM selector to apply them toAddClassOpts(String classNames, String to, Duration time) AddClassOpts accepts css class names, a DOM selector to apply them to, and a duration for the transition.AddClassOpts(String classNames, String to, Duration time, run.undead.js.Transition transition) AddClassOpts accepts css class names, a DOM selector to apply them to, a duration for the transition, and aTransitioncontaining the css transition classes to apply. -
Method Summary
-
Field Details
-
classNames
-
to
-
time
-
transition
protected run.undead.js.Transition transition
-
-
Constructor Details
-
AddClassOpts
AddClassOpts accepts css class names and adds them to element being targeted- Parameters:
classNames- the css class names (space separated)
-
AddClassOpts
AddClassOpts accepts css class names and a DOM selector to apply them to- Parameters:
classNames- the css class names (space separated)to- the DOM selector for the targeted element
-
AddClassOpts
AddClassOpts accepts css class names, a DOM selector to apply them to, and a duration for the transition.- Parameters:
classNames- the css class names (space separated)to- the DOM selector for the targeted elementtime- the duration of the transition
-
AddClassOpts
public AddClassOpts(String classNames, String to, Duration time, run.undead.js.Transition transition) AddClassOpts accepts css class names, a DOM selector to apply them to, a duration for the transition, and aTransitioncontaining the css transition classes to apply.- Parameters:
classNames- the css class names (space separated)to- the DOM selector for the targeted elementtime- the duration of the transitiontransition- the css transition classes to apply- See Also:
-
-
Method Details