<template>
    <div class="ht-base-dropdown-right-click-demo">
        <ht-base-dropdown trigger="contextMenu" placement="bottom-start">
            <a href="javascript:void(0)">
                右键(左)
                <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 style="color:#ED4014;">删除</ht-base-dropdown-item>
            </ht-base-dropdown-menu>
        </ht-base-dropdown>

        <ht-base-dropdown trigger="contextMenu" style="margin-left: 20px">
            <a href="javascript:void(0)">
                右键(居中)
                <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 style="color:#ED4014;">删除</ht-base-dropdown-item>
            </ht-base-dropdown-menu>
        </ht-base-dropdown>

        <ht-base-dropdown trigger="contextMenu" style="margin-left: 20px" placement="bottom-end">
            <a href="javascript:void(0)">
                右键(右)
                <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 style="color:#ED4014;">删除</ht-base-dropdown-item>
            </ht-base-dropdown-menu>
        </ht-base-dropdown>
    </div>
</template>

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

    }
</style>

