UNPKG

@try-at-software/input-elements

Version:

A package providing different input elements that are extensible and easily configurable for your custom needs.

19 lines (18 loc) 655 B
import { IInputElement } from './IInputElement'; export interface IHidingInputElement extends IInputElement { /** * A value indicating whether the input element iss visible. It should not be changed from the outside. * To modify this value, use the @see hide and @see show methods. */ isVisible: boolean; /** * Use this function to hide the input element. * If it is already hidden, nothing should happen. */ hide(): void; /** * Use this function to show the input element if it was hidden before. * If it is already visible, nothing should happen. */ show(): void; }