BoxShadow.applyToElement Method

Applies given box shadow to given element. If element null, ignored. If box shadow null, box shadow will be removed from element.
 
 
Static This method is static.

Parameters

element

Type: HTMLElement - May be null
The element to which to apply the box shadow.
boxShadow

Type: BoxShadow - May be null
The box shadow to apply.