com.vaadin.flow.component.page.

Annotation Interface Inline

Defines files to inline into the initial page.

Since:

1.0

Author:

Vaadin Ltd

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 

    Internal annotation to enable use of multiple Inline annotations.

    static enum 

    Inline position enum.

    static enum 

    File content wrapping enum.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description

    Classpath file to inline into target element.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description

    Inline position of element.

    Target element to inline file contents to.

    The element type to inline as.

  • Element Details

    • value

      String value

      Classpath file to inline into target element.

      Returns:

      file to inline

    • target

      Target element to inline file contents to.

      Returns:

      inline target

      Default:

      HEAD

    • position

      Inline.Position position

      Inline position of element. Default appends to target element.

      Returns:

      inline position

      Default:

      APPEND

    • wrapping

      Inline.Wrapping wrapping

      The element type to inline as. Default is automatic which tries to figure out the correct type by file ending.

      Returns:

      inline element type

      Default:

      AUTOMATIC