kvision / pl.treksoft.kvision.onsenui.list / OnsLazyRepeat / destroyItemCallback

destroyItemCallback

(js) protected var destroyItemCallback: ((Int, HTMLElement) -> Unit)?

A callback function for destroying removed HTML elements.

(js) open fun destroyItemCallback(callback: (index: Int, element: HTMLElement) -> Unit): Unit

Sets a callback function for destroying removed HTML elements.

Parameters

callback - a callback function