feature: tiered sort

This commit is contained in:
lchen committed 2024-05-22 09:27:22 +08:00
1 parent a946012a33
commit 190e43c814
14 files changed
+254 -147

No files matched your search

+3
View File
@@ -271,6 +271,9 @@ export class Popup {
container.appendChild(
createElement('div', 'ui-popup-footer', ...option.buttons.map((b, i) => {
const button = createElement('button', 'ui-popup-button');
if (b.className != null) {
button.classList.add(b.className);
}
if (b.tabIndex > 0) {
button.tabIndex = b.tabIndex;
} else {