wijmo5-culture-loader

0.2.1 • Public • Published

wijmo5-culture-loader

Dynamically load/switch Wijmo 5 cultures. Will cache previously loaded cultures for efficiency. That way if a culture is requested that was already loaded there is no need to reload.

Example

loadWijmo5Culture(tag)
// Where tag is a wijmo supported IETF language tag (e.g. en, en-CA, es, fr-CA)

Configuration

// Replace with your Wijmo 5 cultures path
loadWijmo5Culture._path = 'node_modules/wijmo5/controls/cultures/'

Package Sidebar

Install

npm i wijmo5-culture-loader

Weekly Downloads

3

Version

0.2.1

License

ISC

Last publish

Collaborators

  • pinkhominid