170 lines
No EOL
4.2 KiB
JSON
170 lines
No EOL
4.2 KiB
JSON
{
|
|
"schemaVersion": "0.1.0",
|
|
"readme": "",
|
|
"modules": [
|
|
{
|
|
"kind": "javascript-module",
|
|
"path": "./index.js",
|
|
"declarations": [],
|
|
"exports": [
|
|
{
|
|
"kind": "js",
|
|
"name": "LionTextarea",
|
|
"declaration": {
|
|
"name": "LionTextarea",
|
|
"module": "./src/LionTextarea.js"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"kind": "javascript-module",
|
|
"path": "./lion-textarea.js",
|
|
"declarations": [],
|
|
"exports": [
|
|
{
|
|
"kind": "custom-element-definition",
|
|
"name": "lion-textarea",
|
|
"declaration": {
|
|
"name": "LionTextarea",
|
|
"module": "./src/LionTextarea.js"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"kind": "javascript-module",
|
|
"path": "./src/LionTextarea.js",
|
|
"declarations": [
|
|
{
|
|
"kind": "class",
|
|
"name": "LionTextarea",
|
|
"mixins": [
|
|
{
|
|
"name": "NativeTextFieldMixin",
|
|
"package": "@lion/form-core"
|
|
}
|
|
],
|
|
"superclass": {
|
|
"name": "LionFieldWithTextArea",
|
|
"module": "./src/LionTextarea.js"
|
|
},
|
|
"attributes": [
|
|
{
|
|
"name": "max-rows",
|
|
"fieldName": "maxRows"
|
|
},
|
|
{
|
|
"name": "rows",
|
|
"fieldName": "rows"
|
|
},
|
|
{
|
|
"name": "readonly",
|
|
"fieldName": "readOnly"
|
|
},
|
|
{
|
|
"name": "placeholder",
|
|
"fieldName": "placeholder"
|
|
}
|
|
],
|
|
"members": [
|
|
{
|
|
"kind": "field",
|
|
"name": "maxRows",
|
|
"privacy": "public",
|
|
"default": "6"
|
|
},
|
|
{
|
|
"kind": "field",
|
|
"name": "rows",
|
|
"privacy": "public",
|
|
"default": "2"
|
|
},
|
|
{
|
|
"kind": "field",
|
|
"name": "readOnly",
|
|
"privacy": "public",
|
|
"default": "false"
|
|
},
|
|
{
|
|
"kind": "field",
|
|
"name": "placeholder",
|
|
"privacy": "public",
|
|
"default": "''"
|
|
},
|
|
{
|
|
"kind": "field",
|
|
"name": "slots",
|
|
"privacy": "public"
|
|
},
|
|
{
|
|
"kind": "method",
|
|
"name": "connectedCallback",
|
|
"privacy": "public"
|
|
},
|
|
{
|
|
"kind": "method",
|
|
"name": "updated",
|
|
"privacy": "public",
|
|
"parameters": [
|
|
{
|
|
"name": "changedProperties",
|
|
"type": {
|
|
"text": "PropertyValues "
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"kind": "method",
|
|
"name": "disconnectedCallback",
|
|
"privacy": "public"
|
|
},
|
|
{
|
|
"kind": "method",
|
|
"name": "setTextareaMaxHeight",
|
|
"privacy": "public",
|
|
"description": "To support maxRows we need to set max-height of the textarea"
|
|
},
|
|
{
|
|
"kind": "field",
|
|
"name": "updateComplete",
|
|
"privacy": "public"
|
|
},
|
|
{
|
|
"kind": "method",
|
|
"name": "resizeTextarea",
|
|
"privacy": "public"
|
|
},
|
|
{
|
|
"kind": "method",
|
|
"name": "__initializeAutoresize",
|
|
"privacy": "public"
|
|
},
|
|
{
|
|
"kind": "method",
|
|
"name": "__waitForTextareaRenderedInRealDOM",
|
|
"privacy": "public"
|
|
},
|
|
{
|
|
"kind": "method",
|
|
"name": "__startAutoresize",
|
|
"privacy": "public"
|
|
}
|
|
],
|
|
"tagName": "lion-textarea"
|
|
}
|
|
],
|
|
"exports": [
|
|
{
|
|
"kind": "js",
|
|
"name": "LionTextarea",
|
|
"declaration": {
|
|
"name": "LionTextarea",
|
|
"module": "./src/LionTextarea.js"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |