Web Component: j-Resource


  • Info
  • HTML
  • JS
  • CSS
  • Meta

j-Resource

Resources are very great solution for e.g. translate some texts in all scripts. The component can be appended multiple-times and all components use one repository for storing keys and values.

  • jComponent v19|v20

METHODS:

  • RESOURCE(key, [def]) - is a global method
  • FIND('resource').download('/my-dictionary.txt', [callback]); - for importing new resources

Author