Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
geurts authored Sep 17, 2024
1 parent 0e49e18 commit 3b35550
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/list/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ The `add-button` attribute inserts the `d2l-button-add` component above and belo

Adding new items to the list is handled entirely by consumers by listening for the `d2l-list-add-button-click` event. A simple example scenario is below.

<!-- docs: demo code display:block -->
<!-- docs: demo code display:block sandboxTitle:'List - Add Button'-->
```html
<script type="module">
import '@brightspace-ui/core/components/list/list.js';
Expand Down Expand Up @@ -275,7 +275,7 @@ If a `d2l-list-item` is selectable then it should have a `label` attribute that

### Example

<!-- docs: demo code display:block autoSize:false size:medium -->
<!-- docs: demo code display:block autoSize:false size:medium sandboxTitle:'List - Selection'-->
```html
<script type="module">
import '@brightspace-ui/core/components/list/list.js';
Expand Down Expand Up @@ -314,7 +314,7 @@ If a `d2l-list-item` is expandable then it should have a `label` attribute that

### Expandable List Example

<!-- docs: demo code display:block autoSize:false size:medium -->
<!-- docs: demo code display:block autoSize:false size:medium sandboxTitle:'List - Expandable'-->
```html
<script type="module">
import '@brightspace-ui/core/components/list/list.js';
Expand Down Expand Up @@ -383,7 +383,7 @@ If an item is draggable, the `drag-handle-text` attribute should be used to prov

### Example

<!-- docs: demo code display:block autoSize:false size:medium -->
<!-- docs: demo code display:block autoSize:false size:medium sandboxTitle:'List - Drag & Drop'-->
```html
<script type="module">
import '@brightspace-ui/core/components/list/list.js';
Expand Down

0 comments on commit 3b35550

Please sign in to comment.