/* * Copyright (c) 2010, 2026 BSI Business Systems Integration AG * * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 * which is available at https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 */ import {FormFieldCheckEmpty, ValueFieldModel} from '../../../index'; export interface HtmlFieldModel extends ValueFieldModel { /** * Configures whether scrollbars should be shown if the content is bigger than the available size. * * Default is false. */ scrollBarEnabled?: boolean; /** * Configures whether the text should be selectable. * * Default is true. */ selectable?: boolean; /** * Configures the name of an anchor to which the html field should scroll when it is rendered or when the property is set. * * Default is null. */ scrollToAnchor?: string; /** * Default is true. * * @see WidgetModel.preventInitialFocus */ preventInitialFocus?: boolean; /** * Default is false. * * @see FormFieldModel.checkEmpty */ checkEmpty?: boolean | FormFieldCheckEmpty; }