<divclass="navigation-controls--btn navigation-controls--search"id="searchBar"role="button">search in API</div>
</div>
</nav>
<divid="container">
<divclass="sidebar"id="leftColumn">
<divclass="sidebar--inner"id="sideMenu"></div>
</div>
<divid="main">
<divclass="main-content"data-page-type="member"id="content"pageIds="micro_utils.dokka::dev.inmo.micro_utils.common.compose//ref/[Error type: Unresolved type for ElementScope<T>][TypeParam(bounds=[org.w3c.dom.Element])]#kotlin.Function2[[Error type: Unresolved type for DisposableEffectScope],TypeParam(bounds=[org.w3c.dom.Element]),[Error type: Unresolved type for DisposableEffectResult]]/PointingToDeclaration//-119510368">
<divclass="content sourceset-dependent-content"data-active=""data-togglable=":micro_utils.dokka:dokkaHtml/jsMain"><divclass="symbol monospace"><spanclass="token keyword">fun </span><spanclass="token operator"><</span><ahref="ref.html">T</a><spanclass="token operator"> : </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom/-element/index.html">Element</a><spanclass="token operator">></span><spandata-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span><spanclass="token operator"><</span><ahref="ref.html">T</a><spanclass="token operator">></span><spanclass="token punctuation">.</span><ahref="ref.html"><spanclass="token function">ref</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">block<spanclass="token operator">: </span><spandata-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span><spanclass="token punctuation">.</span><spanclass="token punctuation">(</span><ahref="ref.html">T</a><spanclass="token punctuation">)</span><spanclass="token operator"> -></span><spandata-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span></span></span><spanclass="token punctuation">)</span><spanclass="clearfix"><spanclass="floating-right">(<ahref="https://github.com/InsanusMokrassar/MicroUtils/blob/master//common/compose/src/jsMain/kotlin/dev/inmo/micro_utils/common/compose/MultiRef.kt#L16">source</a>)</span></span></div><pclass="paragraph">This function must be called in the context of your tag content. It works like default AttrsScope.ref, but able to be used several times. Uses DisposableEffect under the hood</p></div></div>