mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 20:25:26 +00:00
Added languages getter
This commit is contained in:
@@ -179,6 +179,14 @@ export default class PKPass extends Bundle {
|
||||
this[certificatesSymbol] = certs;
|
||||
}
|
||||
|
||||
/**
|
||||
* Allows retrieving current languages
|
||||
*/
|
||||
|
||||
public get languages() {
|
||||
return Object.keys(this[localizationSymbol]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Allows getting an image of the props
|
||||
* that are composing your pass instance.
|
||||
|
||||
Reference in New Issue
Block a user