Interface CmsContainerpageController.I_EventDetails

Enclosing class:
CmsContainerpageController

@JsType(isNative=true, namespace="<global>", name="?") public static interface CmsContainerpageController.I_EventDetails
Wrapper for the event details object for custom page editor events.
  • Method Summary

    Modifier and Type
    Method
    Description
    elemental2.dom.Element
    Gets the HTML element for the container itself.
    elemental2.dom.Element
    Gets the HTML element for the page element.
    boolean
    The 'placeholder' state of the element.
    elemental2.dom.Element
    Gets the replaced element.
    Gets the type.
    void
    setContainer(elemental2.dom.Element container)
    Sets the HTML element for the container.
    void
    setElement(elemental2.dom.Element element)
    Sets the HTML element for the page element.
    void
    setIsPlaceholder(boolean isPlaceholder)
    Sets the 'placeholder' (i.e.
    void
    setReplacedElement(elemental2.dom.Element element)
    Sets the replaced element.
    void
    Sets the type.
  • Method Details

    • getContainer

      @JsProperty elemental2.dom.Element getContainer()
      Gets the HTML element for the container itself.
      Returns:
      the HTML element for the container
    • getElement

      @JsProperty elemental2.dom.Element getElement()
      Gets the HTML element for the page element.
      Returns:
      the HTML element for the page element
    • getIsPlaceholder

      @JsProperty boolean getIsPlaceholder()
      The 'placeholder' state of the element.
      Returns:
      the 'placedholder' state
    • getReplacedElement

      @JsProperty elemental2.dom.Element getReplacedElement()
      Gets the replaced element.
      Returns:
      the replaced element
    • getType

      @JsProperty String getType()
      Gets the type.
      Returns:
      the type
    • setContainer

      @JsProperty void setContainer(elemental2.dom.Element container)
      Sets the HTML element for the container.
      Parameters:
      container - the HTML element for the container
    • setElement

      @JsProperty void setElement(elemental2.dom.Element element)
      Sets the HTML element for the page element.
      Parameters:
      element - the HTML element for the page element
    • setIsPlaceholder

      @JsProperty void setIsPlaceholder(boolean isPlaceholder)
      Sets the 'placeholder' (i.e. 'new') state
      Parameters:
      isPlaceholder - true if the element was new
    • setReplacedElement

      @JsProperty void setReplacedElement(elemental2.dom.Element element)
      Sets the replaced element.
      Parameters:
      element - the replaced element
    • setType

      @JsProperty void setType(String type)
      Sets the type.
      Parameters:
      type - the type