12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.textareaProps = exports.inputProps = exports.commonProps = void 0;
- exports.commonProps = {
- value: {
- type: String,
- observer: function (value) {
- if (value !== this.value) {
- this.setData({ innerValue: value });
- this.value = value;
- }
- },
- },
- placeholder: String,
- placeholderStyle: String,
- placeholderClass: String,
- disabled: Boolean,
- maxlength: {
- type: Number,
- value: -1,
- },
- cursorSpacing: {
- type: Number,
- value: 50,
- },
- autoFocus: Boolean,
- focus: Boolean,
- cursor: {
- type: Number,
- value: -1,
- },
- selectionStart: {
- type: Number,
- value: -1,
- },
- selectionEnd: {
- type: Number,
- value: -1,
- },
- adjustPosition: {
- type: Boolean,
- value: true,
- },
- holdKeyboard: Boolean,
- };
- exports.inputProps = {
- type: {
- type: String,
- value: 'text',
- },
- password: Boolean,
- confirmType: String,
- confirmHold: Boolean,
- alwaysEmbed: Boolean,
- };
- exports.textareaProps = {
- autoHeight: Boolean,
- fixed: Boolean,
- showConfirmBar: {
- type: Boolean,
- value: true,
- },
- disableDefaultPadding: {
- type: Boolean,
- value: true,
- },
- };
|