Documentation
Lang
get
name | String |
Returns: String
Return the value by a variable name of the current language.
var value = this.lang.get('variablename');
parse
str | String |
Returns: String
Replace templates like ## name ##
in the string with the values of the language variable.
var str = this.lang.parse('<span class="cancel-el">## cancel ##</span>');
dkjgvo65776inru43654