no versions found for ApplicationFrameworkReferences / CustomElement/alierview / en

AlierView

モジュールパス: /alier_sys/AlierView.js

--- config: class: hideEmptyMembersBox: true --- classDiagram direction LR HTMLElement <|-- AlierCustomElement AlierCustomElement <|-- AlierView

概要


HTML カスタム要素 <alier-view> を読み込むことで HTML 要素は AlierView となります。

<alier-view>
    <p>This is Custom Element</p>
</alier-view>

メソッド


attach()

  • ViewLogic のコンテナが持つコンテンツを取り付けて表示します。

show()

  • AlierView に取り付けられたコンテンツを表示します。

detach()

  • AlierView に取り付けられている ViewLogic を取り外します。

hide()

  • AlierView に取り付けられたコンテナを非表示にします。

post()

  • AlierView に取り付けられたコンテナにメッセージを送ります。

プロパティ


container

このプロパティは読み取り専用です。

AlierView に取り付けられている ViewLogic です。

ViewLogic | null

詳細

ViewLogic が取り付けられているなら、その参照です。何も取り付けられてなければ null です。

この値は attach() 関数や detach() 関数によって変更されます。