Share via


WinJS.Binding.setAttributeOneTime function

Sets an attribute on the destination element to the value of the source property.

Syntax

WinJS.Binding.setAttributeOneTime(source, sourceProperties, dest, destProperties);

Parameters

  • source
    Type: Object

    The source object.

  • sourceProperties
    Type: Array

    The path on the source object to the source property.

  • dest
    Type: DOMElement

    The destination object.

  • destProperties
    Type: Array

    The path on the destination object to the destination property. This must be a single name.

Return value

This function does not return a value.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Binding