publish(@omiu/action-sheet)
This commit is contained in:
parent
f070afbedf
commit
0c54bde88f
|
@ -48,5 +48,5 @@ Or use script tag to ref it.
|
|||
```
|
||||
### Events
|
||||
|
||||
* ItemClick
|
||||
* item-click
|
||||
* close
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@omiu/action-sheet",
|
||||
"version": "0.0.3",
|
||||
"version": "0.0.4",
|
||||
"description": "Mobile pop-up options list",
|
||||
"docsExtend": {
|
||||
"cnName": "弹出式菜单",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* @omiu/action-sheet v0.0.3 http://omijs.org
|
||||
* @omiu/action-sheet v0.0.4 http://omijs.org
|
||||
* Front End Cross-Frameworks Framework.
|
||||
* By dntzhang https://github.com/dntzhang
|
||||
* Github: https://github.com/Tencent/omi
|
||||
|
@ -245,7 +245,7 @@ var ActionSheet = /** @class */ (function (_super) {
|
|||
_a));
|
||||
return (h("div", __assign({ key: idx, onClick: function (_) {
|
||||
_this.hide();
|
||||
_this.fire('ItemClick', menu);
|
||||
_this.fire('item-click', menu);
|
||||
} }, others, { class: cls }), label));
|
||||
});
|
||||
};
|
||||
|
@ -271,7 +271,7 @@ var ActionSheet = /** @class */ (function (_super) {
|
|||
_a));
|
||||
return (h("div", __assign({ key: idx }, others, { onClick: function (_) {
|
||||
_this.hide();
|
||||
_this.fire('ItemClick', action);
|
||||
_this.fire('item-click', action);
|
||||
}, className: cls }), label));
|
||||
});
|
||||
};
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -296,7 +296,7 @@ var ActionSheet = /** @class */ (function (_super) {
|
|||
_a));
|
||||
return (omi_1.h("div", __assign({ key: idx, onClick: function (_) {
|
||||
_this.hide();
|
||||
_this.fire('ItemClick', menu);
|
||||
_this.fire('item-click', menu);
|
||||
} }, others, { class: cls }), label));
|
||||
});
|
||||
};
|
||||
|
@ -322,7 +322,7 @@ var ActionSheet = /** @class */ (function (_super) {
|
|||
_a));
|
||||
return (omi_1.h("div", __assign({ key: idx }, others, { onClick: function (_) {
|
||||
_this.hide();
|
||||
_this.fire('ItemClick', action);
|
||||
_this.fire('item-click', action);
|
||||
}, className: cls }), label));
|
||||
});
|
||||
};
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -40,7 +40,7 @@ export default class ActionSheet extends WeElement<Props> {
|
|||
return (
|
||||
<div key={idx} onClick={_ => {
|
||||
this.hide()
|
||||
this.fire('ItemClick', menu)
|
||||
this.fire('item-click', menu)
|
||||
}} {...others} class={cls}>
|
||||
{label}
|
||||
</div>
|
||||
|
@ -71,7 +71,7 @@ export default class ActionSheet extends WeElement<Props> {
|
|||
return (
|
||||
<div key={idx} {...others} onClick={_ => {
|
||||
this.hide()
|
||||
this.fire('ItemClick', action)
|
||||
this.fire('item-click', action)
|
||||
}} className={cls}>
|
||||
{label}
|
||||
</div>
|
||||
|
|
|
@ -51,5 +51,5 @@ Or use script tag to ref it.
|
|||
```
|
||||
### Events
|
||||
|
||||
* ItemClick
|
||||
* item-click
|
||||
* close
|
||||
|
|
|
@ -50,5 +50,5 @@ import '@omiu/action-sheet'
|
|||
}
|
||||
```
|
||||
### 事件
|
||||
* ItemClick
|
||||
* item-click
|
||||
* close
|
||||
|
|
Loading…
Reference in New Issue