diff options
Diffstat (limited to 'lib/src/lustre.ffi.mjs')
-rw-r--r-- | lib/src/lustre.ffi.mjs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/src/lustre.ffi.mjs b/lib/src/lustre.ffi.mjs index b99f6e2..998c598 100644 --- a/lib/src/lustre.ffi.mjs +++ b/lib/src/lustre.ffi.mjs @@ -25,7 +25,7 @@ export class App { this.#view = render; } - start(selector = "body") { + start(selector, flags) { if (this.#root) return this; try { @@ -33,7 +33,7 @@ export class App { selector instanceof HTMLElement ? selector : document.querySelector(selector); - const [next, effects] = this.#init(); + const [next, effects] = this.#init(flags); this.#root = el; this.#state = next; |