unifiedremote / Docs

Official API documentation.
149 stars 33 forks source link

Input dialog cancel event #19

Open jaruba opened 5 years ago

jaruba commented 5 years ago

the example shows:

server.update({
    id = "myinputdialog",
    type = "input",
    title = "Write something!", 
    ontap = "myinputdialog_done"
});

actions.myinputdialog_done = function(txt)
        if (is_valid(txt)) then 
        fancy_stuff(txt) ...
    end
end

but is there any event for when users click "Cancel" on the dialog?