<template>
    <div class="ht-base-dropdown-click-demo">
        <ht-base-dropdown trigger="click" placement="bottom-start">
            <a href="javascript:void(0)">
                click(左)
                <ht-base-icon type='LiRa_down' />
            </a>
            <ht-base-dropdown-menu slot="list">
                <ht-base-dropdown-item>驴打滚</ht-base-dropdown-item>
                <ht-base-dropdown-item>炸酱面</ht-base-dropdown-item>
                <ht-base-dropdown-item disabled>豆汁儿</ht-base-dropdown-item>
                <ht-base-dropdown-item>冰糖葫芦</ht-base-dropdown-item>
                <ht-base-dropdown-item divided>北京烤鸭</ht-base-dropdown-item>
            </ht-base-dropdown-menu>
        </ht-base-dropdown>

        <ht-base-dropdown trigger="click" style="margin-left: 20px">
            <a href="javascript:void(0)">
                click(居中)
                <ht-base-icon type='LiRa_down' />
            </a>
            <ht-base-dropdown-menu slot="list">
                <ht-base-dropdown-item>驴打滚</ht-base-dropdown-item>
                <ht-base-dropdown-item>炸酱面</ht-base-dropdown-item>
                <ht-base-dropdown-item disabled>豆汁儿</ht-base-dropdown-item>
                <ht-base-dropdown-item>冰糖葫芦</ht-base-dropdown-item>
                <ht-base-dropdown-item divided>北京烤鸭</ht-base-dropdown-item>
            </ht-base-dropdown-menu>
        </ht-base-dropdown>

        <ht-base-dropdown trigger="click" style="margin-left: 20px" placement="bottom-end">
            <a href="javascript:void(0)">
                click(右)
                <ht-base-icon type='LiRa_down' />
            </a>
            <ht-base-dropdown-menu slot="list">
                <ht-base-dropdown-item>驴打滚</ht-base-dropdown-item>
                <ht-base-dropdown-item>炸酱面</ht-base-dropdown-item>
                <ht-base-dropdown-item>豆汁儿</ht-base-dropdown-item>
                <ht-base-dropdown placement="right-start">
                    <ht-base-dropdown-item>
                        北京烤鸭
                        <ht-base-icon type='LiRa_right' style="font-size: 12px"/>
                    </ht-base-dropdown-item>
                    <ht-base-dropdown-menu slot="list">
                        <ht-base-dropdown-item>挂炉烤鸭</ht-base-dropdown-item>
                        <ht-base-dropdown-item>焖炉烤鸭</ht-base-dropdown-item>
                    </ht-base-dropdown-menu>
                </ht-base-dropdown>
                <ht-base-dropdown-item>冰糖葫芦</ht-base-dropdown-item>
            </ht-base-dropdown-menu>
        </ht-base-dropdown>
    </div>
</template>

<script>
    export default {
        name: 'HtBaseDropdownClickDemo',
    }
</script>
<style>
    .ht-base-dropdown-click-demo {

    }
</style>

