mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-05-10 12:57:07 +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
|
*
// before we determine the connection type. Might need to wait
|
||||||
* // prior to doing any api requests as well.
|
* // prior to doing any api requests as well.
|
||||||
* setTimeout(() => {
|
* setTimeout(() => {
|
||||||
* if (Network.type === 'wifi') {
|
* if (this.network.type === 'wifi') {
|
||||||
* console.log('we got a wifi connection, woohoo!');
|
* console.log('we got a wifi connection, woohoo!');
|
||||||
* }
|
* }
|
||||||
* }, 3000);
|
* }, 3000);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user