UNPKG

@eclipse-scout/core

Version:
25 lines 1.01 kB
import { WidgetModel } from '../index'; export interface LabelModel extends WidgetModel { /** * Configures the content to be displayed. */ value?: string; /** * Configures whether HTML tags in the {@link value} should be interpreted or encoded. * * - If set to false, the HTML tags in the `value` will be encoded, so the tags won't have any effect and only plain text will be displayed. * - If set to true, the HTML tags in the `value` will be interpreted. * In that case, you have to make sure that user input is encoded by yourself. * E.g. if the `value` should display text from an input field, use {@link strings.encode} to prevent HTML injection. * * Default is false. */ htmlEnabled?: boolean; /** * Configures whether the label should be vertically scrollable if there is not enough space to display all content. * * Default is false. */ scrollable?: boolean; } //# sourceMappingURL=LabelModel.d.ts.map