mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
docs(network): fix plugin reference (#1247)
This commit is contained in:
parent
e4fc01a23c
commit
7d0f1bd3ff
@ -34,7 +34,7 @@ declare var navigator: any;
|
||||
*
// before we determine the connection type. Might need to wait
|
||||
* // prior to doing any api requests as well.
|
||||
* setTimeout(() => {
|
||||
* if (Network.type === 'wifi') {
|
||||
* if (this.network.type === 'wifi') {
|
||||
* console.log('we got a wifi connection, woohoo!');
|
||||
* }
|
||||
* }, 3000);
|
||||
|
Loading…
Reference in New Issue
Block a user