How to use the @mpxjs/webpack-plugin/lib/runtime/components/web/getInnerListeners.getCustomEvent function in @mpxjs/webpack-plugin

To help you get started, we’ve selected a few @mpxjs/webpack-plugin examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github didi / mpx / packages / webpack-plugin / lib / runtime / components / web / mpx-textarea.vue View on Github external
notifyChange (value) {
        if (value !== undefined) {
          this.setValue(value)
        }
        // 通过原生input派发事件
        this.$refs.textarea.dispatchEvent(getCustomEvent('input'))
      },
      setSelectionRange (start, end) {
github didi / mpx / packages / webpack-plugin / lib / runtime / components / web / mpx-input.vue View on Github external
notifyChange (value) {
        if (value !== undefined) {
          this.setValue(value)
        }
        // 通过原生input派发事件
        this.$refs.input.dispatchEvent(getCustomEvent('input'))
      },
      setSelectionRange (start, end) {