com.vaadin.server.

Class Page.Styles

  • All Implemented Interfaces:

    Serializable

    Enclosing class:

    Page

    public static class Page.Styles
    extends Object
    implements Serializable

    Contains dynamically injected styles injected in the HTML document at runtime.

    Since:

    7.1

    See Also:

    Serialized Form

    • Method Detail

      • add

        public void add​(String css)

        Injects a raw CSS string into the page.

        Parameters:

        css - The CSS to inject

      • add

        public void add​(Resource resource)

        Injects a CSS resource into the page.

        Parameters:

        resource - The resource to inject.