mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 20:25:26 +00:00
Improved text and descriptions in API document
This commit is contained in:
10
API.md
10
API.md
@@ -9,7 +9,7 @@ The flow of execution is really easy (once setted-up everything):
|
|||||||
|
|
||||||
Some details:
|
Some details:
|
||||||
|
|
||||||
* Every schema the properties will be checked against, is built to reflect Apple's specifications, that can be found on Apple Developer Portal, at [PassKit Package Format Reference](https://apple.co/2MUHsm0).
|
* Properties will be checked against schemas, which are built to reflect Apple's specifications, that can be found on Apple Developer Portal, at [PassKit Package Format Reference](https://apple.co/2MUHsm0).
|
||||||
|
|
||||||
* Here below are listed all the available methods that library will let you use.
|
* Here below are listed all the available methods that library will let you use.
|
||||||
|
|
||||||
@@ -218,8 +218,8 @@ pass.barcode(data).backward(format);
|
|||||||
|
|
||||||
**Description**:
|
**Description**:
|
||||||
|
|
||||||
Will let you choose the format to be used in barcode property as backward compatibility.
|
It will let you choose the format to be used in barcode property as backward compatibility.
|
||||||
Also will only work if `data` is provided to `barcode()` method and will fail if the selected format is not found among barcodes dictionaries array.
|
Also it will work only if `data` is provided to `barcode()` method and will fail if the selected format is not found among barcodes dictionaries array.
|
||||||
|
|
||||||
**Arguments**:
|
**Arguments**:
|
||||||
|
|
||||||
@@ -256,7 +256,7 @@ pass.barcode(data).autocomplete();
|
|||||||
|
|
||||||
**Description**:
|
**Description**:
|
||||||
|
|
||||||
Will generate all the barcodes fallback starting from the first dictionary in `barcodes`.
|
It will generate all the barcodes fallback starting from the first dictionary in `barcodes`.
|
||||||
|
|
||||||
<br><br>
|
<br><br>
|
||||||
___
|
___
|
||||||
@@ -309,7 +309,7 @@ pass.void();
|
|||||||
|
|
||||||
**Description**:
|
**Description**:
|
||||||
|
|
||||||
Sets directly the pass as voided (void: true).
|
It sets directly the pass as voided (void: true).
|
||||||
|
|
||||||
<br><br>
|
<br><br>
|
||||||
___
|
___
|
||||||
|
|||||||
Reference in New Issue
Block a user