Search results

Static Functions

Root static functions of Base Library

enableRipple

Animation Module provides support to enable ripple effect functionality to Essential JS 2 components.

Parameter Type Description
isRipple boolean Specifies the boolean value to enable or disable ripple effect.

Returns boolean

getComponent

Global function to get the component instance from the rendered element.

Parameter Type Description
elem HTMLElement | string Specifies the HTMLElement or element id string.
comp string | any | T Specifies the component module name or Component.

Returns T

enableRtl

To enable or disable RTL functionality for all components globally.

Parameter Type Description
status boolean Optional argument Specifies the status value to enable or disable rtl option.

Returns void

loadCldr

Load the CLDR data into context

Returns void

setCulture

Set the default culture to all EJ2 components

Parameter Type Description
cultureName string Specifies the culture name to be set as default culture.

Returns void

setCurrencyCode

Set the default currency code to all EJ2 components

Parameter Type Description
currencyCode string Specifies the culture name to be set as default culture.

Returns void