@vaadin/field-base
Version:
Vaadin field base mixins
22 lines (19 loc) • 601 B
TypeScript
/**
* @license
* Copyright (c) 2021 - 2025 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import { SlotChildObserveController } from '@vaadin/component-base/src/slot-child-observe-controller.js';
/**
* A controller to manage the label element.
*/
export class LabelController extends SlotChildObserveController {
/**
* String used for the label.
*/
protected label: string | null | undefined;
/**
* Set label based on corresponding host property.
*/
setLabel(label: string | null | undefined): void;
}