class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>@Retention(value=CLASS)
public @interface <span class="memberNameLabel">OnMount</span></pre>
<div class="block">A method annotated with <code>OnMount</code> is called on a <code>MountSpec</code> component before the
 component is attached to a hosting view. This will happen when the component is about to become
 visible when incremental mount is enabled (it is enabled by default). The framework will always
 invoke this method 