Files
Ling53666 02554225da 提交
2025-08-18 09:11:51 +08:00

13 lines
390 B
JavaScript

import { Component, triggerEvent } from '../_util/simply';
import { GridFunctionalProps } from './props';
Component(GridFunctionalProps, {
onTap: function (e) {
var item = e.target.dataset.item;
triggerEvent(this, 'tap', item);
},
onFirstAppear: function (e) {
var item = e.target.dataset.item;
triggerEvent(this, 'firstAppear', item);
}
});