#### `actionsheet操作表`
[預覽](https://aui-js.github.io/aui/pages/api/plugs/actionsheet.html) </br>
參數 | 類型 | 描述 | 默認值 | 必選
---- | ----- | ------ | ----- | ----
warp | string | 父容器元素 | 'body' | 否
items | arr | 菜單列表[{name: "", color: "", fontSize: "", textAlign: ""}] | [] | 否
mask | boolean | 是否顯示遮罩蒙版 | true | 否
touchClose | boolean | 觸摸遮罩是否關閉模態彈窗 | true | 否
cancle | string | 取消按鈕 | '' | 否
location | string | 位置 </br>bottom:位于底部,從底部彈出顯示</br>middle:位于頁面中心位置 | 'bottom' | 否
theme | number | 主題樣式(1: 非全屏寬度; 2: 全屏寬度) | 1 | 否
````html
<link rel="stylesheet" type="text/css" href="https://aui-js.github.io/aui/static/css/aui.min.css"/>
<script type="text/javascript" src="https://aui-js.github.io/aui/static/js/aui.min.js"></script>
````
> 示例:
````javascript
aui.actionSheet({
title: '上傳圖片',
mask: true,
touchClose: true,
items: [{
name: "從相冊選擇",
},{
name: "拍照"
}],
cancle: "取消",
theme: 1,
location: "bottom"
},function(ret){
console.log(ret.index);
});
````