You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generate a Lightning Web Component (LWC) bundle that wraps the lightning-embedding base component.
13
+
Generate a Lightning Web Component (LWC) bundle that wraps the <lightning-ui-embedding> base component.
14
14
15
15
# description
16
16
17
-
The generated LWC bundle consumes the first-party <lightning-embedding> component, which is pre-wired with the three required attributes: the widget URL (src), iframe sandbox tokens, and an accessible iframe title (shell-title).
17
+
The generated LWC bundle consumes the first-party <lightning-ui-embedding> component, which is pre-wired with the three required attributes: the embedding URL (src), iframe sandbox tokens, and an accessible iframe title (shell-title).
18
18
19
19
The generated LWC bundle contains four files (.html, .js, .js-meta.xml, .css) in a directory named with the camelCased component name. The bundle must live under a parent folder named "lwc".
20
20
@@ -32,7 +32,7 @@ Absolute HTTPS URL that the iframe will load.
32
32
33
33
# flags.src.description
34
34
35
-
The URL is bound to the <lightning-embedding> "src" attribute as a reactive property in the generated LWC. Must use HTTPS; plain HTTP is allowed only for localhost or 127.0.0.1 (for local development).
35
+
The URL is bound to the <lightning-ui-embedding> "src" attribute as a reactive property in the generated LWC. Must use HTTPS; plain HTTP is allowed only for localhost or 127.0.0.1 (for local development).
36
36
37
37
# flags.src.error
38
38
@@ -44,12 +44,12 @@ Iframe sandbox token. Specify this flag multiple times to set more than one toke
44
44
45
45
# flags.sandbox.description
46
46
47
-
Each token is written into the space-separated "sandbox" attribute on <lightning-embedding>. Only W3C-defined sandbox tokens are accepted.
47
+
Each token is written into the space-separated "sandbox" attribute on <lightning-ui-embedding>. Only W3C-defined sandbox tokens are accepted.
48
48
49
49
# flags.shell-title.summary
50
50
51
51
Accessible title for the embedded iframe.
52
52
53
53
# flags.shell-title.description
54
54
55
-
Written to the "shell-title" attribute on <lightning-embedding> and used as the iframe's accessible name (announced by screen readers).
55
+
Written to the "shell-title" attribute on <lightning-ui-embedding> and used as the iframe's accessible name (announced by screen readers).
0 commit comments