@vectoriox/iox-ui 4.17.2 → 4.17.3
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/package.json
CHANGED
|
@@ -265,6 +265,17 @@ declare class BuilderImageComponent {
|
|
|
265
265
|
src: string;
|
|
266
266
|
alt: string;
|
|
267
267
|
nodeId: string;
|
|
268
|
+
/**
|
|
269
|
+
* The `src` attribute value, or `null` to OMIT the attribute entirely when there is no image.
|
|
270
|
+
*
|
|
271
|
+
* `src=""` is not "no image": the browser resolves the empty string against the document URL and
|
|
272
|
+
* re-requests the PAGE itself as an image — a broken-image icon plus a wasted round trip. Angular
|
|
273
|
+
* removes an attribute bound to `null`, which is the only way to render a genuinely src-less img.
|
|
274
|
+
*
|
|
275
|
+
* An empty src is a normal state, not a mistake: a context slot starts empty on purpose and is
|
|
276
|
+
* filled when the visitor interacts (see element-context-state-plan.md).
|
|
277
|
+
*/
|
|
278
|
+
get srcAttr(): string | null;
|
|
268
279
|
static ɵfac: i0.ɵɵFactoryDeclaration<BuilderImageComponent, never>;
|
|
269
280
|
static ɵcmp: i0.ɵɵComponentDeclaration<BuilderImageComponent, "img[iox-img]", never, { "src": { "alias": "src"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; }, {}, never, never, false, never>;
|
|
270
281
|
}
|