AlierFramework.js モジュール
モジュールパス: /alier_sys/AlierFramework.js
概要
AlierFramework.js はフレームワーク機能を一括でインポートするためのモジュールで、Alier.View の設定などを行います。
利用方法
ECMAScript 標準の import 構文を使用してモジュールを読み込み、グローバル環境へ展開してください。
import * as AlierFramework from "/alier_sys/AlierFramework.js";
// モジュールの展開方法 1: Object.assign を利用する方法
Object.assign(globalThis, AlierFramework);
// モジュールの展開方法 2: Object.defineProperties と Object.getOwnPropertyDescriptors を利用する方法
Object.defineProperties(globalThis, Object.getOwnPropertyDescriptors(AlierFramework));
効果
以下のモジュールがグローバルにインポートされます:
ProtoViewLogic
ViewLogic
AlierCustomElement
AlierView
ListView
AlierModel
setupModelInterface
setupModelInterfaceFromText
関数
setupAlier()
- Alier フレームワークの初期化を行います。