Add comment to annotate inspiration
This commit is contained in:
parent
0ac4f7b395
commit
9ab9f25d86
|
|
@ -7,6 +7,7 @@ interface ConfirmDialogOptions {
|
||||||
}
|
}
|
||||||
type ResolveReject = (v?: unknown) => void;
|
type ResolveReject = (v?: unknown) => void;
|
||||||
|
|
||||||
|
// inspired by https://stackoverflow.com/a/69773076/6071058
|
||||||
export default {
|
export default {
|
||||||
confirm(options: ConfirmDialogOptions) {
|
confirm(options: ConfirmDialogOptions) {
|
||||||
const mountEl = document.createElement("div");
|
const mountEl = document.createElement("div");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue