feat(nodes-edges): add domAttributes
This commit is contained in:
@@ -24,6 +24,10 @@ const initialNodes: Node[] = [
|
||||
data: { label: 'A11y Node 1' },
|
||||
position: { x: 250, y: 5 },
|
||||
className: 'light',
|
||||
domAttributes: {
|
||||
tabIndex: 10,
|
||||
'aria-roledescription': 'A11y Node',
|
||||
},
|
||||
},
|
||||
{
|
||||
id: '2',
|
||||
|
||||
Reference in New Issue
Block a user