Interface AttributeMutateEvent

All Superinterfaces:
Event

public interface AttributeMutateEvent extends Event
Event fired when either an attribute on an element is modified or when a document option is modified
  • Method Details

    • getKey

      String getKey()
      Get the name of the attribute/option that was mutated
      Returns:
      Mutated attribute/option key
    • getPreviousValue

      String getPreviousValue()
      Get the previous value of the mutated attribute
      Returns:
      Previous value
    • getNewValue

      String getNewValue()
      Get the new value of the mutated attribute
      Returns:
      New value
    • getAction

      AttributeAction getAction()
      Get the mutation action
      Returns:
      Attribute action