-
Notifications
You must be signed in to change notification settings - Fork 1
loadRule
Moe Myat Zaw edited this page Jun 7, 2019
·
1 revision
The loadRule
method is used to load and cache rule by name early. If the rule already in cache and 'refresh' is false, then returns the cached rule.
loadRule(
ruleName: string,
refresh: boolean = false): Observable<TranslitRule | TranslitRuleParsed>
-
ruleName
- The rule name to load and cache rule. -
refresh
- Flag to force reload rule.
Returns the Observable<TranslitRule | TranslitRuleParsed>
object.