Skip to content

function_display

Wesley de Groot edited this page Nov 28, 2015 · 10 revisions

tvOS.display(view)

create a nice RatingView (with support of objects)

Parameters

Type @var Description Required
string title the title of your RatingView Required
string rating the default/averange rating Required
string [callback] function to relay on (Does not work) Optional

Example

tvOS.RatingView(title, rating, function (clicked) {
  console.log('Clicked on ' + clicked) // Does not work (yet)!
})



Back to function list