EN
このコンテンツは設定された言語で表示できません。英語版のページが表示されます。

ToggleSwitch.title property

Applies to Windows and Windows Phone

Gets or sets the main text for the ToggleSwitch control. This text is always displayed, regardless of whether the control is switched on or off.

Syntax


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


var title = toggleSwitch.title;
toggleSwitch.title = title;

Property value

Type: String

HTML that provides the main text for the control.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

Library

Ui.js

See also

ToggleSwitch

 

 

表示:
© 2014 Microsoft