{
    "api": [{
        "title": "nz-dropdown",
        "intro":"需要在触发下拉菜单的元素上加入[nz-dropdown]的directive标记用于定位元素位置，属性如下",
        "data": {
            "header": [{
                    "name": "参数",
                    "key": "param"
                },
                {
                    "name": "说明",
                    "key": "intro"
                },
                {
                    "name": "类型",
                    "key": "type"
                },
                {
                    "name": "默认值",
                    "key": "defaultValue"
                }
            ],
            "list": [{
                    "param": "[nz-dropdown]",
                    "intro": "用于定位触发下拉菜单的元素",
                    "type": "Directive",
                    "defaultValue": "-"
                },
                {
                    "param": "[nz-dropdown-custom]",
                    "intro": "自定义下拉菜单内容，不可与menu混用",
                    "type": "ng-content",
                    "defaultValue": "-"
                },
                {
                    "param": "nzTrigger",
                    "intro": "触发下拉的行为",
                    "type": "'click'|'hover'",
                    "defaultValue": "'hover'"
                },
                {
                    "param": "nzClickHide",
                    "intro": "点击后是否隐藏菜单",
                    "type": "Boolean",
                    "defaultValue": "true"
                },
                {
                    "param": "nzVisible",
                    "intro": "菜单是否显示",
                    "type": "Boolean",
                    "defaultValue": "false"
                },
                {
                    "param": "nzVisibleChange",
                    "intro": "菜单显示状态改变时调用，参数为 nzVisible",
                    "type": "Function(visible)",
                    "defaultValue": "-"
                },
                {
                    "param": "nzPlacement",
                    "intro": "菜单弹出位置：bottomLeftbottomCenterbottomRighttopLefttopCentertopRight",
                    "type": "String",
                    "defaultValue": "bottomLeft"
                }
            ]
        }
    },
    {
        "title": "nz-dropdown-button",
        "intro":"菜单可由 nz-menu取得，菜单还包括菜单项 nz-menu-item分割线 nz-menu-divider和 子菜单nz-submenu",
        "data": {
            "header": [{
                    "name": "参数",
                    "key": "param"
                },
                {
                    "name": "说明",
                    "key": "intro"
                },
                {
                    "name": "类型",
                    "key": "type"
                },
                {
                    "name": "默认值",
                    "key": "defaultValue"
                }
            ],
            "list": [{
                    "param": "nzType",
                    "intro": "按钮类型",
                    "type": "String",
                    "defaultValue": "'default'"
                },
                {
                    "param": "nzSize",
                    "intro": "按钮大小",
                    "type": "String",
                    "defaultValue": "-"
                },
                {
                    "param": "nzClick",
                    "intro": "点击左侧按钮的回调",
                    "type": "Function",
                    "defaultValue": "-"
                },
                {
                	"param": "nzTrigger",
                    "intro": "触发下拉的行为",
                    "type": "'click'|'hover'",
                    "defaultValue": "'hover'"
                },
                {
                    "param": "nzClickHide",
                    "intro": "点击后是否隐藏菜单",
                    "type": "Boolean",
                    "defaultValue": "true"
                },
                {
                    "param": "nzVisible",
                    "intro": "菜单是否显示",
                    "type": "Boolean",
                    "defaultValue": "false"
                },
                {
                    "param": "nzVisibleChange",
                    "intro": "菜单显示状态改变时调用，参数为 nzVisible",
                    "type": "Function(visible)",
                    "defaultValue": "-"
                },
                {
                    "param": "nzPlacement",
                    "intro": "菜单弹出位置：bottomLeft bottomCenter bottomRight topLeft topCenter topRight",
                    "type": "String",
                    "defaultValue": "bottomLeft"
                }
            ]
        }
    }
    ]
}