Interface ComponentElement

All Superinterfaces:
DomQueryable, Element, EventTarget, Node

public interface ComponentElement extends Element
A node which uses a Component as content
  • Method Details

    • getContent

      net.kyori.adventure.text.Component getContent()
      Get the chat component content
      Returns:
      Content component
    • setContent

      void setContent(net.kyori.adventure.text.Component content)
      Set the chat component content
      Parameters:
      content - Content component