Windows-Apps
Inhaltsverzeichnis reduzieren
Inhaltsverzeichnis erweitern
EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

WinJS.UI.Rating constructor

Applies to Windows only

Creates a new Rating.

Syntax


var rating = new WinJS.UI.Rating(element, options);

Parameters

element

Type: Object

The DOM element hosts the new Rating.

options

Type: Object

An object that contains one or more property/value pairs to apply to the new control. Each property of the options object corresponds to one of the control's properties or events. Event names must begin with "on". For example, to provide a handler for the cancel event, add a property named "oncancel" to the options object and set its value to the event handler.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.UI

See also

Rating

 

 

Anzeigen:
© 2017 Microsoft