com.vaadin.flow.server.

Class InlineTargets


  • public class InlineTargets
    extends Object

    Data holder class for collected Inline annotations to be added to the initial page.

    Since:

    1.0

    • Constructor Detail

      • InlineTargets

        public InlineTargets()
    • Method Detail

      • addInlineDependency

        public void addInlineDependency(Inline inline,
                                        VaadinRequest request)

        Inline contents from classpath file to head of initial page.

        Parameters:

        inline - inline dependency to add to bootstrap page

        request - the request that is handled

      • getInlineHead

        protected List<elemental.json.JsonObject> getInlineHead(Inline.Position position)

        Get the list of inline objects to add to head.

        Parameters:

        position - prepend or append

        Returns:

        current list of inline objects

      • getInlineBody

        protected List<elemental.json.JsonObject> getInlineBody(Inline.Position position)

        Get the list of inline objects to add to body.

        Parameters:

        position - prepend or append

        Returns:

        current list of inline objects