ModalFrame
モジュールパス: /alier_sys/Popup.js
---
config:
class:
hideEmptyMembersBox: true
---
classDiagram
direction LR
ProtoViewLogic <|-- ViewLogic
ViewLogic <|-- PopupFrame
PopupFrame <|-- ModalFrame
link ViewLogic "/ApplicationFrameworkReferences/Components/View/viewlogic"
link ProtoViewLogic "/ApplicationFrameworkReferences/Components/View/protoviewlogic"
link PopupFrame "../frame"
概要
モーダルポップアップのフレームであり、ポップアップのコンテンツとして PopupContainer
を受け取るクラスです。
メソッド
オーバーライド
loadContainer()
: 継承元のloadContainer()
の処理後にAlierView
が存在することを確認する処理を追加しています。そのため引数のHTMLには<alier-view>
タグが必要です。messageHandler()
: メッセージ{ id: "close" }
と{ id: "modalOverlay" }
を受け取る処理を追加しています。そのため派生クラスでオーバーライドする際はsuper.messageHandler
を呼ぶ必要があります。
attachPopup()
- 受け取ったポップアップのコンテンツをフレームのエレメントにアタッチします。
プロパティ
envelope
ポップアップの結果を待つための thenable なオブジェクトです。
型
詳細
ポップアップを閉じたときに結果で解決されます。