withOpenFile

infix fun Style.withOpenFile(file: String): @NotNull Style

Sets the click event of this style to open a file.

Return

The style with the applied click event

Parameters

file

The file path to open when clicked