com.vaadin.flow.component.html.

Class Pre

    • Constructor Detail

      • Pre

        public Pre()

        Creates a new empty preformatted text block.

      • Pre

        public Pre(Component... components)

        Creates a new preformatted text block with the given child components.

        Parameters:

        components - the child components

      • Pre

        public Pre(String text)

        Creates a new paragraph with the given text.

        Parameters:

        text - the text