Skip to content

resize

ts
import { defineComponent, resize } from '@52css/mp-vue3'

defineComponent({
  properties: {},
  setup() {
    resize((size: WechatMiniprogram.Page.IResizeOption) => {
      console.log("🚀 ~ resize ~ size:", size)
    })
  }
});