Interface ScriptElement

All Superinterfaces:
DomQueryable, Element, EventTarget, Node

public interface ScriptElement extends Element
  • Method Details

    • getSource

      @Nullable @Nullable String getSource()
      Get the script source.

      Shorthand for accessing the Attributes.SOURCE attribute.

      Returns:
      Script source
    • getSourcePath

      @Nullable @Nullable ResourcePath getSourcePath()
      Get the full source path of the script source file.
      Returns:
      Script source path