WinJS.Binding.addClassOneTime function

Adds a Cascading Style Sheets (CSS) class from the specified path of the source object to a destination object.

Syntax

WinJS.Binding.addClassOneTime(source, sourceProperties, dest);

Parameters

  • source
    Type: Object

    The source object that has the class to copy.

  • sourceProperties
    Type: Array

    The path on the source object to the source class.

  • dest
    Type: HTMLElement

    The destination object.

Return value

This function does not return a value.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Binding