Skip to content

function_RatingView

Wesley de Groot edited this page Nov 19, 2015 · 14 revisions

tvOS.RatingView(title, rating, callback)

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

Clone this wiki locally