Interface HamletSpec.SCRIPT

All Superinterfaces:
HamletSpec.__, HamletSpec._Child, HamletSpec._Content
All Known Implementing Classes:
Hamlet.SCRIPT
Enclosing class:
HamletSpec

public static interface HamletSpec.SCRIPT extends HamletSpec._Content, HamletSpec._Child
  • Method Details

    • $charset

      HamletSpec.SCRIPT $charset(String cdata)
      char encoding of linked resource
      Parameters:
      cdata - the content of the element.
      Returns:
      the current element builder
    • $type

      HamletSpec.SCRIPT $type(String cdata)
      content type of script language
      Parameters:
      cdata - the content of the element.
      Returns:
      the current element builder
    • $src

      URI for an external script
      Parameters:
      cdata - the content of the element.
      Returns:
      the current element builder
    • $defer

      HamletSpec.SCRIPT $defer(String cdata)
      UA may defer execution of script
      Parameters:
      cdata - the content of the element.
      Returns:
      the current element builder