field-basepackage.src.label-mixin.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vaadin-webcomponents Show documentation
Show all versions of vaadin-webcomponents Show documentation
Mvnpm composite: Vaadin webcomponents
The newest version!
/**
* @license
* Copyright (c) 2021 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import type { Constructor } from '@open-wc/dedupe-mixin';
import type { LabelController } from './label-controller.js';
/**
* A mixin to provide label via corresponding property or named slot.
*/
export declare function LabelMixin>(base: T): Constructor & T;
export declare class LabelMixinClass {
/**
* String used for a label element.
*/
label: string | null | undefined;
protected readonly _labelNode: HTMLLabelElement;
protected _labelController: LabelController;
protected _labelChanged(label: string | null | undefined): void;
}