wj-elements 0.7.6 → 0.7.7
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/custom-elements.json +5500 -5500
- package/dist/packages/wje-img/img.element.d.ts +4 -4
- package/dist/web-types.json +465 -465
- package/dist/wje-breadcrumb.js +7 -3
- package/dist/wje-breadcrumb.js.map +1 -1
- package/dist/wje-chip.js +1 -1
- package/dist/wje-chip.js.map +1 -1
- package/dist/wje-dialog.js +1 -1
- package/dist/wje-dialog.js.map +1 -1
- package/dist/wje-file-upload-item.js +2 -2
- package/dist/wje-file-upload-item.js.map +1 -1
- package/dist/wje-file-upload.js +2 -2
- package/dist/wje-file-upload.js.map +1 -1
- package/dist/wje-img.js +4 -3
- package/dist/wje-img.js.map +1 -1
- package/dist/wje-pagination.js +4 -4
- package/dist/wje-pagination.js.map +1 -1
- package/dist/wje-toast.js +1 -1
- package/dist/wje-toast.js.map +1 -1
- package/dist/wje-toolbar-action.js +1 -1
- package/dist/wje-toolbar-action.js.map +1 -1
- package/package.json +2 -1
|
@@ -9,7 +9,7 @@ import { default as WJElement } from '../wje-element/element.js';
|
|
|
9
9
|
* @property {string} src - The source URL of the image.
|
|
10
10
|
* @property {string} alt - The alternative text for the image.
|
|
11
11
|
* @property {string} fallout - The action to perform when an error occurs while loading the image. The value can be a function or a predefined action like 'delete'.
|
|
12
|
-
* @property {string} loader - The URL of the image loader to display while the image is loading.
|
|
12
|
+
* @property {string} loader - The URL of the image loader to display while the image is loading. Defaults to the loader asset resolved from the configured base path.
|
|
13
13
|
* @property {boolean} noLazy - Disables lazy loading and renders the image source immediately.
|
|
14
14
|
* @tag wje-img
|
|
15
15
|
*/
|
|
@@ -68,10 +68,10 @@ export default class Img extends WJElement {
|
|
|
68
68
|
*/
|
|
69
69
|
set loader(value: string);
|
|
70
70
|
/**
|
|
71
|
-
* Retrieves the
|
|
72
|
-
* @returns {string
|
|
71
|
+
* Retrieves the configured loader URL or resolves the default loader from the base path.
|
|
72
|
+
* @returns {string} The loader URL.
|
|
73
73
|
*/
|
|
74
|
-
get loader(): string
|
|
74
|
+
get loader(): string;
|
|
75
75
|
/**
|
|
76
76
|
* Enables or disables lazy loading for the image.
|
|
77
77
|
* @param {boolean} value True to disable lazy loading, false to restore the default lazy behavior.
|