gradum-kit - v0.1.0
    Preparing search index...

    Function flexCol

    • Function

      flexCol

      Type Parameters

      • Tag extends keyof HTMLElementTagNameMap

        The tag of the element to create.

      Parameters

      • Optionalproperties: GradumProperties<Tag>

        Object containing properties of the element. Defaults to a <div> when no tag is given.

      Returns ValidHTMLElement<Tag>

      The created element, with display: flex and flex-direction: column already applied.

      Create an element that lays its children out in a vertical flex column.