Skip to content

Commit

Permalink
dynamically set inert attribute on decorative map
Browse files Browse the repository at this point in the history
  • Loading branch information
Stassi committed Nov 3, 2024
1 parent e6bbbb8 commit ae6ffce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tutorial/accessibility/decorative.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import '../style/medium.css'

import { type Map } from '@stassi/leaf'

document.getElementById('map')?.setAttribute('inert', '')

const map: Map = await (
await import('../../leaf/map/map.js')
).map({
Expand Down

0 comments on commit ae6ffce

Please sign in to comment.