Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FlowLayoutDef<T>

This control is for arranging other controls in a responsive way. This will arrange controls hirizontaly (aligned to left or right).

Type parameters

Hierarchy

Indexable

[key: string]: any

This control is for arranging other controls in a responsive way. This will arrange controls hirizontaly (aligned to left or right).

Index

Properties

Optional afterInit

Optional align

align: "left" | "right"

Horizontal alignment of controls ('left' or 'right').

Optional attr

attr: IDictionary<string>

Object defining html attributes for controls root element.

Optional children

children: T[]

Child control list for this control.

Optional click

Callback that will be called when control is clicked.

Optional css

css: JQueryCssProperties

Object defining css styles for controls root element.

Optional enabled

enabled: undefined | false | true

If true control will be enabled if false control will be disabled (inactive).

Optional fixedWidth

fixedWidth: undefined | number

Optional id

id: undefined | string

Reference id of the control, it will be used to reference this control in the code throuth FieldsIndex objects.

Optional ignore

ignore: undefined | false | true

If true this control definition will be ignored and control will not be initiated.

Optional init

Callback that will be called when control is initialised.

Optional on

Optional spacing

spacing: undefined | number

Spacing in pixels between controls in the layout. (default: 10)

Optional styleClass

styleClass: undefined | string

Style class to add on root element of the control.

type

type: "FlowLayout" | object

Optional verticalAlign

verticalAlign: "top" | "middle" | "bottom"

Vertical alignment of controls (if they are in different height) ('top', 'middle' or 'bottom'). (default: top)

Optional visible

visible: undefined | false | true

Set initial visibility of control. (default: true)