portalRef

@Composable
fun IComponent.portalRef(className: String? = null, id: String? = null, content: @Composable IPortal.() -> Unit = {}): Portal

Creates a Portal component, returning a reference.

Return

the Portal component reference

Parameters

className

the CSS class name

id

the ID attribute of the component

content

the content of the component