Lines Matching refs:button
16 const button = document.createElement('button');
17 button.className = 'diagrams-btn';
20 button.prepend(icon);
25 button.append(LANG.plugins.diagrams.downloadPNGButtonShort);
26 button.title = LANG.plugins.diagrams.downloadPNGButton;
48 button.append(LANG.plugins.diagrams.downloadSVGButtonShort);
49 button.title = LANG.plugins.diagrams.downloadSVGButton;
52 link.appendChild(button);
64 const button = document.createElement('button');
65 button.className = 'diagrams-btn';
66 button.innerText = LANG.plugins.diagrams.openButtonShort;
67 button.title = LANG.plugins.diagrams.openButton;
69 button.prepend(ButtonFunctions.getButtonIcon('open'));
71 button.addEventListener('click', event => {
76 return button;
85 static getButtonIcon(button) { argument
87 icon.className = `icon-${button}`;
89 switch (button) {