mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 08:32:52 +08:00
updated example
This commit is contained in:
parent
1e1920f524
commit
ba0f6ec6e5
@ -10,15 +10,8 @@ import { Observable } from 'rxjs/Observable';
|
||||
* ```
|
||||
* import { AppPreferences } from 'ionic-native';
|
||||
*
|
||||
* AppPreferences.fetch(prefsRead, prefsErr, 'key');
|
||||
* AppPreferences.fetch('key').then((res) => { console.log(res); });
|
||||
*
|
||||
* prefsRead(value) {
|
||||
* console.log(value);
|
||||
* }
|
||||
*
|
||||
* prefsErr(error) {
|
||||
* console.log(error);
|
||||
* }
|
||||
*
|
||||
*/
|
||||
@Plugin({
|
||||
|
Loading…
Reference in New Issue
Block a user