text: 'use strict';
  Object.defineProperty(exports, '__esModule', { value: true });
  exports.basic = void 0;
  exports.basic = Behavior({
    methods: {
      $emit: function (name, detail, options) {
        this.triggerEvent(name, detail, options);
      },
      set: function (data, callback) {
        this.setData(data, callback);
        return new Promise(function (resolve) {
          return wx.nextTick(resolve);
        });
      },
    },
  });
  