mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-26 00:44:07 +01:00
♻️ b3-menu__checked
This commit is contained in:
parent
6378d1e738
commit
5aabda4b37
4 changed files with 9 additions and 5 deletions
|
|
@ -224,6 +224,9 @@ export class MenuItem {
|
|||
if (options.action) {
|
||||
html += `<svg class="b3-menu__action${options.action === "iconCloseRound" ? " b3-menu__action--close" : ""}"><use xlink:href="#${options.action}"></use></svg>`;
|
||||
}
|
||||
if (options.checked) {
|
||||
html += '<svg class="b3-menu__checked"><use xlink:href="#iconSelect"></use></svg></span>'
|
||||
}
|
||||
this.element.innerHTML = html;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue