New to Kendo UI for Vue? Start a free 30-day trial

Represents the props of the Kendo UI for Vue StackLayout component.

Definition

Package:@progress/kendo-vue-layout

Properties

Sets the horizontal and vertical alignment of the inner StackLayout elements. Demo (here) and (here).

The supported keys are:

  • horizontal—Sets the horizontal alignment of the inner StackLayout elements.
    • start—Uses the start point of the container.
    • center—Uses the central point of the container.
    • end—Uses the end point of the container.
    • (Default)stretch—Stretches the items to fill the width of the container.
  • vertical—Sets the vertical alignment of the inner StackLayout elements.
    • top—Uses the top point of the container.
    • middle—Uses the middle point of the container.
    • bottom—Uses the bottom point of the container.
    • (Default)stretch—Stretches the items to fill the height of the container.

gap?

string | number

Sets the gap between the inner elements (see example). A number value sets the gap in pixels. A string value accepts any CSS length, such as '1rem'.

id?

string

Sets the id attribute of the root StackLayout element.

Sets the orientation of the StackLayout (see example).

The supported values are:

  • horizontal
  • vertical
Default:

horizontal

In this article
DefinitionPropertiesalign?gap?id?orientation?
Not finding the help you need?
Contact Support