From c77d8978801831431d3708dfe46139091fbaa8e0 Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Fri, 7 Jun 2024 19:45:59 +0900 Subject: [PATCH] doc --- packages/frontend/src/pizzax.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/frontend/src/pizzax.ts b/packages/frontend/src/pizzax.ts index f7d23b202a..096886d06c 100644 --- a/packages/frontend/src/pizzax.ts +++ b/packages/frontend/src/pizzax.ts @@ -183,6 +183,14 @@ export class Storage { }); } + + /** + * Sets the configuration options for Pizzax. + * + * 特にinitを待ったりとかはしないので、boot.jsなど、ロード初期段階で呼ぶ必要がある + * + * @param config - The partial configuration object. + */ public setConfig(config: Partial) { this.options = Object.assign(this.options, config); }