1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- import { SuperComponent } from '../common/src/index';
- export default class Textarea extends SuperComponent {
- options: {
- multipleSlots: boolean;
- };
- behaviors: string[];
- externalClasses: string[];
- properties: {
- cursorSpacing: {
- type: NumberConstructor;
- value: number;
- };
- adjustPosition?: {
- type: BooleanConstructor;
- value?: boolean;
- required?: boolean;
- };
- autofocus?: {
- type: BooleanConstructor;
- value?: boolean;
- required?: boolean;
- };
- autosize?: {
- type: BooleanConstructor;
- value?: boolean;
- required?: boolean;
- };
- confirmHold?: {
- type: BooleanConstructor;
- value?: boolean;
- required?: boolean;
- };
- confirmType?: {
- type: StringConstructor;
- value?: "send" | "search" | "next" | "go" | "done";
- required?: boolean;
- };
- disabled?: {
- type: BooleanConstructor;
- value?: boolean;
- required?: boolean;
- };
- externalClasses?: {
- type: ArrayConstructor;
- value?: ["t-class", "t-class-textarea", "t-class-placeholder", "t-class-name"];
- required?: boolean;
- };
- focus?: {
- type: BooleanConstructor;
- value?: boolean;
- required?: boolean;
- };
- label?: {
- type: StringConstructor;
- value?: string;
- required?: boolean;
- };
- maxcharacter?: {
- type: NumberConstructor;
- value?: number;
- required?: boolean;
- };
- maxlength?: {
- type: NumberConstructor;
- value?: number;
- required?: boolean;
- };
- placeholder?: {
- type: StringConstructor;
- value?: string;
- required?: boolean;
- };
- value?: {
- type: StringConstructor;
- value?: string;
- required?: boolean;
- };
- };
- data: {
- prefix: string;
- classPrefix: string;
- count: number;
- };
- lifetimes: {
- ready(): void;
- };
- methods: {
- updateValue(value: any): void;
- onInput(event: any): void;
- onFocus(event: any): void;
- onBlur(event: any): void;
- onConfirm(event: any): void;
- onLineChange(event: any): void;
- };
- }
|