---
title: "Sencha touch  Ext.ActionSheet  使用方法"
author: "junjun16818"
date: "2011-02-17T17:33:06Z"
tags: ["EXT", "UI"]
categories: ["Web前端"]
slug: "sencha-touch-ext-actionsheet"
draft: false
lastmod: "2011-02-17T17:33:06Z"
id: 909144
url: "https://junjun16818.iteye.com/blog/909144"
---

```
//按钮组

var actionSheet = new Ext.ActionSheet({
    draggable:true,//允许拖拽
    bodyMargin:100//调整距离 还有 bodyPadding
    items: [
        {
            text: 'Delete draft',
            ui  : 'decline'           //按钮类型
        },
        {
            text: 'Save draft'
        },
        {
            text: 'Cancel',
            ui  : 'confirm'        //按钮类型
        }
    ]
});
actionSheet.show();

事件：
tap //点击事件
```

 没有太深入研究 就知道这些信息