Interface HtmlPolicy


@JsFunction public interface HtmlPolicy
Sanitizes HTML or throws to reject it before it reaches an HTML binding.
  • Method Summary

    Modifier and Type
    Method
    Description
    Invokes the HtmlPolicy callback.
  • Method Details

    • onInvoke

      String onInvoke(String html)
      Invokes the HtmlPolicy callback.
      Parameters:
      html - Value supplied for the html parameter.