mirror of
https://github.com/material-components/material-web.git
synced 2026-01-09 07:21:09 +08:00
Update menu-item.ts
This commit is contained in:
parent
085c799836
commit
210ee0ce6d
@ -157,7 +157,7 @@ export class MenuItemEl extends menuItemBaseClass implements MenuItem {
|
||||
// TODO(b/265339866): announce "button"/"link" inside of a list item. Until
|
||||
// then all are "menuitem" roles for correct announcement.
|
||||
const target = isAnchor && !!this.target ? this.target : nothing;
|
||||
const download = isAnchor && !!this.download ? this.donwload : nothing;
|
||||
const download = isAnchor && !!this.download ? this.download : nothing;
|
||||
const rel = isAnchor && !!this.rel ? this.rel : nothing;
|
||||
return staticHtml`
|
||||
<${tag}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user