共用方式為


SettingsFlyout.width property

[settingFlyout is no longer available for use as of Windows Library for JavaScript (WinJS) 4.0 Preview.]

This property may be unavailable or altered in future versions. Use the CSS width property of the element that has the win-settingsflyout class instead. Gets or sets the width of the SettingsFlyout.

Syntax

<div data-win-control="WinJS.UI.SettingsFlyout" data-win-options="{ width : value}" />
var width = settingsFlyout.width;
settingsFlyout.width = width;

Property value

Type: String

Acceptable values for the width are narrow or wide.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.UI

See also

SettingsFlyout