docs: swap method for getter
This commit is contained in:
parent
e078cb8976
commit
ef5db18871
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ there is support for the Arabic, English, and Farsi languages.
|
||||||
|
|
||||||
The
|
The
|
||||||
[`Quran.locales`](http://0x1eef.github.io/x/Quran.js/classes/Quran.html#locales)
|
[`Quran.locales`](http://0x1eef.github.io/x/Quran.js/classes/Quran.html#locales)
|
||||||
method provides an object where the
|
getter provides an object where the
|
||||||
key is a locale name (such as `en`) and the value is a
|
key is a locale name (such as `en`) and the value is a
|
||||||
locale object. The locales returned by this method indicate
|
locale object. The locales returned by this method indicate
|
||||||
what languages the
|
what languages the
|
||||||
|
@ -40,7 +40,7 @@ import { Quran } from "@0x1eef/quran";
|
||||||
|
|
||||||
The
|
The
|
||||||
[`Quran.surahs`](http://0x1eef.github.io/x/Quran.js/classes/Quran.html#surahs-1)
|
[`Quran.surahs`](http://0x1eef.github.io/x/Quran.js/classes/Quran.html#surahs-1)
|
||||||
method provides an object where the key
|
getter provides an object where the key
|
||||||
is a locale name (such as `en`) and the value is a surah
|
is a locale name (such as `en`) and the value is a surah
|
||||||
object. For example:
|
object. For example:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue