HiddenInitializationView ⇐ BaseView

  • Extends: BaseView
  • Kind: global class

new HiddenInitializationView()

View allows to hide part of the DOM tree until all page components are initialized.

Usage sample:

Note

Keep in mind that all div’s attributes are required for valid work.

1
2
3
4
5
6
 <div class="invisible"
         data-page-component-module="oroui/js/app/components/view-component"
         data-page-component-options="{'view': 'oroui/js/app/views/hidden-initialization-view'}"
         data-layout="separate">
     <!-- write anything here -->
 </div>