Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,11 @@ Here is the full list of widgets that can be embedded:
|Iframe |`<lfr-widget-iframe>`|


## Embedding Liferay Widgets multiple times in a fragment

If we need to include the same `<lfr-widget-[widget-name]>` more than once in a fragment, we will need to add an `id` attribute with a different value for each repetition

<lfr-widget-[widget-name] id="myFirstWidget"></lfr-widget-[widget-name]>
<lfr-widget-[widget-name] id="mySecondWidget"></lfr-widget-[widget-name]>

For the id is necessary an alphanumeric value (we can't use symbols like `_`or `-`)