fmt: ActionButton.js
This commit is contained in:
parent
822327edfc
commit
604d956d0c
|
|
@ -53,14 +53,14 @@ class ActionButton extends window.HTMLElement {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getUniqueId() {
|
getUniqueId () {
|
||||||
if (window.isSecureContext) {
|
if (window.isSecureContext) {
|
||||||
return window.crypto.randomUUID()
|
return window.crypto.randomUUID()
|
||||||
} else {
|
} else {
|
||||||
return Date.now()
|
return Date.now()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
startAction (actionArgs) {
|
startAction (actionArgs) {
|
||||||
// this.btn.disabled = true
|
// this.btn.disabled = true
|
||||||
// this.isWaiting = true
|
// this.isWaiting = true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue