I want to know if is possible to use optional parameters in a QML function.
I tried:
Qt Code:
function danger(header, small, closeable = true) { setAlert(header, small, closeable) }To copy to clipboard, switch view to plain text mode
error: Syntax Error on closeable =
Bookmarks