Skip to content

function_RatingView

Wesley de Groot edited this page Jan 2, 2016 · 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)
})



Back to function list

Clone this wiki locally