You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
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,
                                        VaadinService service)

        Inline contents from classpath file to head of initial page.

        Parameters:

        inline - inline dependency to add to bootstrap page

        service - the service that can find the dependency

      • getInlineHead

        public 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

        public 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