2024-12-01 11:56:54 +00:00
|
|
|
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);
|
2024-11-10 07:01:22 +00:00
|
|
|
},
|
2024-12-01 11:56:54 +00:00
|
|
|
onFirstAppear: function (e) {
|
|
|
|
var item = e.target.dataset.item;
|
|
|
|
triggerEvent(this, 'firstAppear', item);
|
|
|
|
}
|
|
|
|
});
|