@syncfusion/ej2-inplace-editor
Version:
A package of Essential JS 2 Inplace editor components, which is used to edit and update the value dynamically in server.
29 lines (28 loc) • 1.62 kB
TypeScript
import { RichTextEditorModel } from '@syncfusion/ej2-richtexteditor';
import { DatePickerModel } from '@syncfusion/ej2-calendars';
import { DateTimePickerModel, DateRangePickerModel, TimePickerModel } from '@syncfusion/ej2-calendars';
import { NumericTextBoxModel, TextBoxModel } from '@syncfusion/ej2-inputs';
import { ColorPickerModel, MaskedTextBoxModel, SliderModel } from '@syncfusion/ej2-inputs';
import { AutoCompleteModel, ComboBoxModel, DropDownListModel, MultiSelectModel } from '@syncfusion/ej2-dropdowns';
declare type valueType = string | number | Date | string[] | Date[] | number[];
declare type modelType = AutoCompleteModel | ColorPickerModel | ComboBoxModel | DatePickerModel | DateRangePickerModel | DateTimePickerModel | DropDownListModel | MaskedTextBoxModel | MultiSelectModel | NumericTextBoxModel | RichTextEditorModel | SliderModel | TextBoxModel | TimePickerModel;
/**
* @param {string} type - specifies the string type
* @param {valueType} val - specifies the value type
* @param {modelType} model - specifies the model type
* @returns {string} - returns the string
*/
export declare function parseValue(type: string, val: valueType, model: modelType): string;
/**
* @param {string} type - specifies the string value
* @param {valueType} val - specifies the value type
* @returns {valueType} - returns the value type
*/
export declare function getCompValue(type: string, val: valueType): valueType;
/**
* @param {string} value - specifies the string value
* @returns {string} - returns the string
* @hidden
*/
export declare function encode(value: string): string;
export {};