field-basepackage.src.input-constraints-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 { DelegateStateMixinClass } from '@vaadin/component-base/src/delegate-state-mixin.js';
import type { InputMixinClass } from './input-mixin.js';
import type { ValidateMixinClass } from './validate-mixin.js';
/**
* A mixin to combine multiple input validation constraints.
*/
export declare function InputConstraintsMixin>(
base: T,
): Constructor &
Constructor &
Constructor &
Constructor &
T;
export declare class InputConstraintsMixinClass {
/**
* Returns true if the current input value satisfies all constraints (if any).
*/
checkValidity(): boolean;
}