Interface ContentOptions

All Superinterfaces:
org.teavm.jso.JSObject

public interface ContentOptions extends org.teavm.jso.JSObject
How inserted content is read. Without options a string is text and is escaped; with html() it is raw HTML.
Since:
1.0.3
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    Returns options that insert the string as raw HTML.

    Methods inherited from interface org.teavm.jso.JSObject

    cast
  • Method Details

    • html

      static ContentOptions html()
      Returns options that insert the string as raw HTML.
      Returns:
      options that insert the string as raw HTML