@extscreen/es-core 1.0.20 → 1.0.21

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.
Files changed (2) hide show
  1. package/dist/index.js +62 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -510,6 +510,68 @@ var ESNetworkManager$1 = new ESNetworkManager();
510
510
 
511
511
  class ESToastModule {
512
512
 
513
+ make() {
514
+ Vue.Native.callNative('ToastModule', "make");
515
+ }
516
+
517
+ setMode(mode) {
518
+ Vue.Native.callNative('ToastModule', "setMode", mode);
519
+ }
520
+
521
+ setGravity(gravity, xOffset, yOffset) {
522
+ Vue.Native.callNative('ToastModule', "setGravity", gravity, xOffset, yOffset);
523
+ }
524
+
525
+ setBackgroundColor(backgroundColor) {
526
+ Vue.Native.callNative('ToastModule', "setBgColor", backgroundColor);
527
+ }
528
+
529
+ setTextColor(textColor) {
530
+ Vue.Native.callNative('ToastModule', "setTextColor", textColor);
531
+ }
532
+
533
+ setTextSize(textSize) {
534
+ Vue.Native.callNative('ToastModule', "setTextSize", textSize);
535
+ }
536
+
537
+ setLongDuration(isLong) {
538
+ Vue.Native.callNative('ToastModule', "setLongDuration", isLong);
539
+ }
540
+
541
+ setNotUseSystemToast() {
542
+ Vue.Native.callNative('ToastModule', "setNotUseSystemToast");
543
+ }
544
+
545
+ show(text) {
546
+ Vue.Native.callNative('ToastModule', "show", text);
547
+ }
548
+
549
+ cancel() {
550
+ Vue.Native.callNative('ToastModule', "cancel");
551
+ }
552
+
553
+ setBackground(url) {
554
+ Vue.Native.callNative('ToastModule', "setBackground", {url: url});
555
+ }
556
+
557
+ setLeftIcon(url) {
558
+ Vue.Native.callNative('ToastModule', "setLeftIcon", {url: url});
559
+ }
560
+
561
+ setTopIcon(url) {
562
+ Vue.Native.callNative('ToastModule', "setTopIcon", {url: url});
563
+ }
564
+
565
+ setRightIcon(url) {
566
+ Vue.Native.callNative('ToastModule', "setRightIcon", {url: url});
567
+ }
568
+
569
+ setBottomIcon(url) {
570
+ Vue.Native.callNative('ToastModule', "setBottomIcon", {url: url});
571
+ }
572
+
573
+
574
+ //----------------------------------------------------------------------------------
513
575
  showToast(message) {
514
576
  Vue.Native.callNative('ToastModule', "showToast", message);
515
577
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extscreen/es-core",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {