Border.applyToElement Method

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

Parameters

element

Type: HTMLElement - May be null
The element to which to apply the border.
border

Type: Border - May be null
The border to apply.