onSave

fun onSave(block: () -> Unit)

Sets the action to be performed on save.

Since

2.0.0

Parameters

block

The action block to execute when saving