UNPKG

react-antd-admin-panel

Version:

Easy prototyping admin panel using React and Antd

31 lines 801 B
import Default from "./Default"; export default class Input extends Default { constructor() { super('Input'); this._onPressEnter = false; this._autofocus = false; } suffix(v) { this._suffix = v; return this; } onPressEnter(v) { this._onPressEnter = v !== null && v !== void 0 ? v : true; return this; } autofocus(v) { this._autofocus = v !== null && v !== void 0 ? v : true; return this; } clearSelf() { this._defaultObject = undefined; try { this.tsxClear(); window.localStorage.removeItem(`radio:${this._key}`); } catch (e) { console.log(e); } } } //# sourceMappingURL=Input.js.map