Package run.undead.js

Class RemoveClassOpts

java.lang.Object
run.undead.js.RemoveClassOpts
All Implemented Interfaces:
Cmd

public class RemoveClassOpts extends Object implements Cmd
RemoveClassOpts are the options for the remove_class JS command. This command removes the specified classes from the targeted element.
  • Field Details

    • classNames

      protected String classNames
    • to

      protected String to
    • time

      protected Long time
    • transition

      protected run.undead.js.Transition transition
  • Constructor Details

    • RemoveClassOpts

      public RemoveClassOpts(String classNames)
      removes the specified classes from the current element
      Parameters:
      classNames - the classes to remove
    • RemoveClassOpts

      public RemoveClassOpts(String classNames, String to)
      removes the specified classes from the current element
      Parameters:
      classNames - the classes to remove
      to - the DOM selector for the targeted element
    • RemoveClassOpts

      public RemoveClassOpts(String classNames, String to, Duration time)
      removes the specified classes from the current element
      Parameters:
      classNames - the classes to remove
      to - the DOM selector for the targeted element
      time - the duration of the transition
    • RemoveClassOpts

      public RemoveClassOpts(String classNames, String to, Duration time, run.undead.js.Transition transition)
      removes the specified classes from the current element
      Parameters:
      classNames - the classes to remove
      to - the DOM selector for the targeted element
      time - the duration of the transition
      transition - the css transition classes to apply
      See Also:
      • Transition
  • Method Details