mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 16:52:53 +08:00
docs(index-app-content): fix spelling and lint errors
This commit is contained in:
parent
98d44e6294
commit
fe5b7ce0af
@ -85,7 +85,7 @@ export class IndexAppContent extends IonicNativePlugin {
|
|||||||
/**
|
/**
|
||||||
* Add or change items to spotlight index
|
* Add or change items to spotlight index
|
||||||
* @param {Array<IndexItem>} Array of items to index
|
* @param {Array<IndexItem>} Array of items to index
|
||||||
* @return {Promise<any>} Returns if index set was successfull
|
* @return {Promise<any>} Returns if index set was successful
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
setItems(items: Array<IndexItem>): Promise<any> {
|
setItems(items: Array<IndexItem>): Promise<any> {
|
||||||
@ -95,7 +95,7 @@ export class IndexAppContent extends IonicNativePlugin {
|
|||||||
/**
|
/**
|
||||||
* Clear all items stored for a given array of domains
|
* Clear all items stored for a given array of domains
|
||||||
* @param {Array<string>} Array of domains to clear
|
* @param {Array<string>} Array of domains to clear
|
||||||
* @return {Promise<any>} Resolve if successfull
|
* @return {Promise<any>} Resolve if successful
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
clearItemsForDomains(domains: Array<string>): Promise<any> {
|
clearItemsForDomains(domains: Array<string>): Promise<any> {
|
||||||
@ -105,13 +105,13 @@ export class IndexAppContent extends IonicNativePlugin {
|
|||||||
/**
|
/**
|
||||||
* Clear all items stored for a given array of identifiers
|
* Clear all items stored for a given array of identifiers
|
||||||
* @param {Array<string>} Array of identifiers to clear
|
* @param {Array<string>} Array of identifiers to clear
|
||||||
* @return {Promise<any>} Resolve if successfull
|
* @return {Promise<any>} Resolve if successful
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
clearItemsForIdentifiers(identifiers: Array<string>): Promise<any> {
|
clearItemsForIdentifiers(identifiers: Array<string>): Promise<any> {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If user taps on a search result in spotlight then the app will be launched.
|
* If user taps on a search result in spotlight then the app will be launched.
|
||||||
* You can register a Javascript handler to get informed when this happens.
|
* You can register a Javascript handler to get informed when this happens.
|
||||||
|
Loading…
Reference in New Issue
Block a user