Class Style


  • @JsType(isNative=true,
            name="HTMLStyleElement",
            namespace="<global>")
    public final class Style
    extends BaseHtmlElement
    Represents a <style> and doesn't allow to manipulate the CSS it contains.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • getType

        @JsProperty
        public String getType()
        Returns the type of style being applied by this statement.
        Returns:
        the type of style being applied by this statement
      • setType

        @JsProperty
        public void setType​(String type)
        Sets the type of style being applied by this statement.
        Parameters:
        type - the type of style being applied by this statement