UNPKG

smart-webcomponents-angular

Version:

[![Price](https://img.shields.io/badge/price-COMMERCIAL-0098f7.svg)](https://jqwidgets.com/license/)

70 lines (65 loc) 2.11 kB
import {BaseElement, Animation} from "./smart.element" export interface BootstrapTextareaProperties { /** * Enables or disables the element. * Default value: false */ disabled?: boolean; /** * Gets or sets whether the element is filled. * Default value: false */ filled?: boolean; /** * Sets or gets the name attribute for the element. Name is used when submiting HTML forms. * Default value: """" */ name?: string; /** * Gets or sets whether the element is outlined. * Default value: false */ outlined?: boolean; /** * Gets or sets the placeholder of the element. * Default value: "false" */ placeholder?: string; /** * Gets or sets whether the element is required. * Default value: false */ required?: boolean; /** * Sets or gets the style mode of the element. * Default value: primary */ styleMode?: BootstrapTextareaStyleMode | string; /** * Gets or sets the value of the element. * Default value: "false" */ value?: string; } /** Defines a Textarea component, which includes Material and Bootstrap styles */ export interface BootstrapTextarea extends BaseElement, BootstrapTextareaProperties { /* Get a member by its name */ [name: string]: any; /** * Change event is triggered when the value of the element is changed. * @param event. The custom event. */ onChange: ((this: any, ev: Event) => any) | null; } declare global { interface Document { createElement(tagName: "bootstrap-textarea"): BootstrapTextarea; querySelector(selectors: "bootstrap-textarea"): BootstrapTextarea | null; querySelectorAll(selectors: "bootstrap-textarea"): NodeListOf<BootstrapTextarea>; getElementsByTagName(qualifiedName: "bootstrap-textarea"): HTMLCollectionOf<BootstrapTextarea>; getElementsByName(elementName: "bootstrap-textarea"): NodeListOf<BootstrapTextarea>; } } /**Sets or gets the style mode of the element. */ export declare type BootstrapTextareaStyleMode = 'primary' | 'secondary' | 'error' | 'warning' | 'success' | null | 'default';