From 850ba11d98896024b7199d5b474934bc6ce26341 Mon Sep 17 00:00:00 2001 From: ienaga Date: Mon, 13 Nov 2023 10:07:06 +0900 Subject: [PATCH] =?UTF-8?q?#1=20=E3=83=87=E3=83=95=E3=82=A9=E3=83=AB?= =?UTF-8?q?=E3=83=88=E3=81=AE=E3=83=9A=E3=83=BC=E3=82=B8=E3=83=88=E3=83=83?= =?UTF-8?q?=E3=83=97=E3=81=AE=E8=A8=AD=E5=AE=9A=E3=82=92config=E3=81=AB?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- template/src/config/README.md | 1 + template/src/config/config.json | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c076426..d518b0d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@next2d/framework-template", "description": "Next2D Framework default JavaScript template.", - "version": "3.0.4", + "version": "3.0.5", "homepage": "https://next2d.app", "bugs": "https://github.com/Next2D/framework-template/issues/new", "author": "Toshiyuki Ienaga", diff --git a/template/src/config/README.md b/template/src/config/README.md index c4fe8d3..cef8821 100644 --- a/template/src/config/README.md +++ b/template/src/config/README.md @@ -44,6 +44,7 @@ The following items are available in `all` that affect functionality. | name | value | default | description | |---------------------|-----------------|-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| `defaultTop` | string | "top" | ページトップ(index)のViewを指定、設定がない場合はTopViewクラスが起動します。
Specifies the view at the top of the page (index); if not set, the TopView class is invoked. | | `spa` | boolean | true | Single Page Applicationとして、URLでシーンを制御することができます。
As a Single Page Application, scenes can be controlled by URL. | | `loading.callback` | string | Loading | 画面遷移の準備が完了するまでの間、ローディング画面を表示するかどうかを設定します。コールバックとして設定されたクラスのstart関数とend関数を呼び出します。
Sets whether or not the loading screen is displayed until the preparation for screen transition is completed. Calls the start and end functions of the class set as the callback. | | `gotoView.callback` | string or array | ["callback.Background"] | gotoView関数が終了した後にコールバックするクラスを指定できます。
You can specify the class to be called back after the gotoView function exits. | diff --git a/template/src/config/config.json b/template/src/config/config.json index 53b7d5a..8bca1b8 100644 --- a/template/src/config/config.json +++ b/template/src/config/config.json @@ -32,6 +32,7 @@ } }, "all": { + "defaultTop": "top", "spa": true, "loading": { "callback": "Loading"