File

projects/netgrif-components-core/src/lib/data-fields/models/layout.ts

Description

Layout information for the data field.

Extends

GridLayout

Index

Properties

Properties

alignment
alignment: FieldAlignment
Type : FieldAlignment
Optional

Determines the vertical alignment of the field within its designated space

appearance
appearance: MaterialAppearance
Type : MaterialAppearance

Determines the appearance of the form field.

offset
offset: number
Type : number
template
template: TemplateAppearance
Type : TemplateAppearance

Determines how much space the form field occupies.

import {GridLayout} from '../../utility/grid-layout/model/grid-element';
import {TemplateAppearance} from './template-appearance';
import {MaterialAppearance} from './material-appearance';
import {FieldAlignment} from '../../resources/interface/field-alignment';

/**
 * Layout information for the data field.
 */
export interface Layout extends GridLayout {
    /**
     * Determines how much space the form field occupies.
     */
    template: TemplateAppearance;
    /**
     * Determines the appearance of the form field.
     */
    appearance: MaterialAppearance;
    offset: number;
    /**
     * Determines the vertical alignment of the field within its designated space
     */
    alignment?: FieldAlignment;
}

result-matching ""

    No results matching ""