@extscreen/es-core 1.0.12 → 1.0.13

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 +15 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1676,6 +1676,21 @@ function ESAnimationViewComponent() {
1676
1676
 
1677
1677
  Vue.component('es-animation-view-component', {
1678
1678
  methods: {
1679
+ setPivotX(pivotX) {
1680
+ Vue.Native.callUIFunction(this.$refs.animationView,
1681
+ 'setPivotX', [pivotX], (res) => {
1682
+ });
1683
+ },
1684
+ setPivotY(pivotY) {
1685
+ Vue.Native.callUIFunction(this.$refs.animationView,
1686
+ 'setPivotY', [pivotY], (res) => {
1687
+ });
1688
+ },
1689
+ resetPivot() {
1690
+ Vue.Native.callUIFunction(this.$refs.animationView,
1691
+ 'resetPivot', [], (res) => {
1692
+ });
1693
+ },
1679
1694
  resetAnimators() {
1680
1695
  Vue.Native.callUIFunction(this.$refs.animationView,
1681
1696
  'resetAnimators', [], (res) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extscreen/es-core",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {