This topic has not yet been rated - Rate this topic

ToggleSwitch.labelOff property

Gets or sets the text that displays when the ToggleSwitch is off (checked is set to false).

Syntax


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


var labelOff = toggleSwitch.labelOff;
toggleSwitch.labelOff = labelOff;

Property value

Type: String

The text to display when the ToggleSwitch is off. The default value is "off."

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Namespace

WinJS.UI

Library

Ui.js

See also

ToggleSwitch

 

 

Build date: 12/5/2012

© 2013 Microsoft. All rights reserved.