Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | 1x | // Valid and supported slot types
const validSlotContentOptions = [
{
type: 'button',
html: `
<button type="button" aria-controls="content">Button</button>
<div id="content" class="content">Content</div>
`,
},
{
type: 'input',
html: `
<input type="button" value="Button" aria-controls="content" />
<div id="content" class="content">Content</div>
`,
},
{
type: 'div',
html: `
<div class="button" role="button" aria-controls="content" tabindex="0">Content</div>
<div id="content" class="content">Content</div>
`,
},
{
type: 'SDS Button',
html: `
<sds-button role="button" aria-controls="content">Button</sds-button>;
<div id="content" class="content">Content</div>
`,
},
{
type: 'link',
html: `
<a href="javascript:void(0);" role="button" aria-controls="content" tabindex="0">Button</a>;
<div id="content" class="content">Content</div>
`,
},
];
export default validSlotContentOptions;
|