mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-08 05:32:33 +01:00
This commit is contained in:
parent
1d142c9df1
commit
f2a53014fb
16 changed files with 32 additions and 18 deletions
|
|
@ -213,6 +213,9 @@ export class MenuItem {
|
|||
if (options.type === "readonly") {
|
||||
this.element.classList.add("b3-menu__item--readonly");
|
||||
}
|
||||
if (options.icon === "iconTrashcan") {
|
||||
this.element.classList.add("b3-menu__item--remove");
|
||||
}
|
||||
|
||||
if (options.element) {
|
||||
this.element.append(options.element);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue