You are browsing the documentation for version 4.1 of OroCommerce, OroCRM and OroPlatform, which is no longer maintained. Read version 5.1 (the latest LTS version) of the Oro documentation to get up-to-date information.

See our Release Process documentation for more information on the currently supported and upcoming releases.

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:


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

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