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

TimePicker.minutePattern property

Applies to Windows only

Gets or sets the display pattern for the minute.

The default minute pattern is minute.integer(2). You can change the minute pattern by changing the number of integers displayed.

Syntax


<div data-win-control="WinJS.UI.TimePicker" data-win-options="{ minutePattern : value}" />


var minutePattern = timePicker.minutePattern;
timePicker.minutePattern = minutePattern;

Property value

Type: String

The display pattern for the minute.

The following list gives the possible values for the patterns you can use in a TimePicker:

  • {minute.abbreviated} | {minute.abbreviated(n)}
  • {minute.integer} | {minute.integer(n)}

Examples

The following code shows how to set a minute pattern.


timePicker.minutePattern = "{minute.abbreviated(4)}";

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.UI

See also

TimePicker

 

 

Anzeigen:
© 2017 Microsoft