chore(a11y): pass a11y descriptions in svelte
This commit is contained in:
@@ -220,6 +220,11 @@
|
||||
console.log('on selection changed via prop', { nodes, edges });
|
||||
}}
|
||||
selectNodesOnDrag
|
||||
a11yMessages={{
|
||||
'a11yDescription.node.default': 'Svelte Custom Node Description.',
|
||||
'a11yDescription.node.keyboardDisabled': 'Svelte Custom Keyboard Description',
|
||||
'a11yDescription.edge.default': 'Svelte Custom Edge Desc.',
|
||||
}}
|
||||
>
|
||||
<Controls orientation="horizontal" {fitViewOptions}>
|
||||
{#snippet before()}
|
||||
|
||||
Reference in New Issue
Block a user