Skip to main content

Loadable content examples

Simple placeholder

This example demonstrates:

  • how to use default placeholder when data is being loaded.
note

It works only when "default" placeholder have been registered in OpCoreModule.

Preview
Sources

Preserving component state

Preview
Sources

Placeholder over content

This example demonstrates:

  • how not to remove content while new data is being loaded
  • how to show placeholder over this content.
Preview
Sources

Different placeholders

This example demonstrates:

  • how to tell NgOP to use specific placeholder.
note

It works only for placeholders that have been registered in OpCoreModule.

Preview
Sources