@optionfactory/ful 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ful.iife.js +7 -1
- package/dist/ful.iife.js.map +1 -1
- package/dist/ful.iife.min.js +1 -1
- package/dist/ful.iife.min.js.map +1 -1
- package/dist/ful.min.mjs +1 -1
- package/dist/ful.min.mjs.map +1 -1
- package/dist/ful.mjs +7 -1
- package/dist/ful.mjs.map +1 -1
- package/package.json +1 -1
package/dist/ful.iife.js
CHANGED
|
@@ -1393,7 +1393,7 @@ var ful = (function (exports, ftl) {
|
|
|
1393
1393
|
}
|
|
1394
1394
|
|
|
1395
1395
|
class Input extends ftl.ParsedElement {
|
|
1396
|
-
static observed = ['value'];
|
|
1396
|
+
static observed = ['value', 'readonly:presence'];
|
|
1397
1397
|
static slots = true;
|
|
1398
1398
|
static template = `
|
|
1399
1399
|
<label data-tpl-for="id" class="form-label">{{{{ slots.default }}}}</label>
|
|
@@ -1440,6 +1440,12 @@ var ful = (function (exports, ftl) {
|
|
|
1440
1440
|
set value(value) {
|
|
1441
1441
|
this.#input.value = value;
|
|
1442
1442
|
}
|
|
1443
|
+
get readonly(){
|
|
1444
|
+
return this.#input.readOnly;
|
|
1445
|
+
}
|
|
1446
|
+
set readonly(v) {
|
|
1447
|
+
this.#input.readOnly = v;
|
|
1448
|
+
}
|
|
1443
1449
|
focus(options) {
|
|
1444
1450
|
this.#input.focus(options);
|
|
1445
1451
|
}
|