LinearGradientBrush.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 gradient will be applied to the background.