@extscreen/es-core 1.0.14 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +12 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -723,6 +723,11 @@ class ESModule {
|
|
|
723
723
|
'getSupportSchemes',);
|
|
724
724
|
}
|
|
725
725
|
|
|
726
|
+
getVisiblePageSize() {
|
|
727
|
+
return Vue.Native.callNativeWithPromise('EsNativeModule',
|
|
728
|
+
'getVisiblePageSize',);
|
|
729
|
+
}
|
|
730
|
+
|
|
726
731
|
launchESPageByArgs(args) {
|
|
727
732
|
return Vue.Native.callNativeWithPromise('EsNativeModule',
|
|
728
733
|
'launchEsPage', {
|
|
@@ -2452,6 +2457,10 @@ var ESLifecycleMixin = {
|
|
|
2452
2457
|
this.onESPause();
|
|
2453
2458
|
}
|
|
2454
2459
|
//
|
|
2460
|
+
else if (event === 'onStop') {
|
|
2461
|
+
this.onESStop();
|
|
2462
|
+
}
|
|
2463
|
+
//
|
|
2455
2464
|
else if (event === 'onDestroy') {
|
|
2456
2465
|
this.onESDestroy();
|
|
2457
2466
|
}
|
|
@@ -2466,6 +2475,9 @@ var ESLifecycleMixin = {
|
|
|
2466
2475
|
},
|
|
2467
2476
|
onESPause() {
|
|
2468
2477
|
|
|
2478
|
+
},
|
|
2479
|
+
onESStop() {
|
|
2480
|
+
|
|
2469
2481
|
},
|
|
2470
2482
|
onESDestroy() {
|
|
2471
2483
|
|