Share via


SP.UI.PopoutMenu.ensureCSSClassOnElement(element, cssClass) Method

Applies to: SharePoint Foundation 2010

Appends the specified cascading style sheets (CSS) class to the specified element.

SP.UI.PopoutMenu.ensureCSSClassOnElement(element, cssClass);

Parameters

element

Type: Sys.UI.DomElement

The specified element.

cssClass

Type: string

The specified CSS class.

Remarks

This method does nothing if element is null or undefined, or the CSS class has already been appended to the specified element.

Applies To

SP.UI.PopoutMenu Class

See Also

Reference

SP.UI.PopoutMenu Events

SP.UI.PopoutMenu Methods

SP.UI.PopoutMenu Properties

SP.UI Namespace