Keep Alive

The keep alive directive will caches your view and re-uses it when needed.

Cache Input

An example in COMPONENT.template.html.

<input *keepAlive>

Cache Div

An example in COMPONENT.template.html.

<div *keepAlive>
  <input>
</div>

Last updated