addClass function

WinJS.Utilities.addClass function

[This documentation is preliminary and is subject to change.]

Applies to: Metro style apps only

Adds the specified class to the specified element.

Syntax

var thmlElement = WinJS.Utilities.addClass(e, name);

Parameters

e

Type: HTMLElement

The element to which to add the class.

name

Type: string

The name of the class to add.

Return value

Type: Object

The element.

Requirements

Minimum supported client

Windows 8 Consumer Preview

Minimum supported server

Windows Server 8 Beta

Namespace

WinJS.Utilities

Library

Base.js

 

 

Build date: 2/10/2012

Ajouts de la communauté

AJOUTER
Afficher:
© 2017 Microsoft