ImageBrush.applyToElement Method

Applies this brush to an element.
 

Parameters

element

Type: HTMLElement
The element to apply the brush to.
propertyName

Type: String
The CSS property to set. If omitted, the brush will be applied to the background.