Skip to content

function_alert

Wesley de Groot edited this page Jan 2, 2016 · 8 revisions

tvOS.alert(title, description, buttons, callback)

Display an Alert message

Parameters

Type @var Description Required
string title the title Required
string description the description Required
array buttons the buttons Required
function callback the callback Required

Example

tvOS.alert('Update Avable', 'Update now', ['Yes', 'No'], function (e) { console.log('Clicked: ' + event) })



Back to function list