Blame view

examples/routers/dropdown.vue 1.74 KB
ab8aaf95   梁灏   add Dropdown comp...
1
  <template>
dab9c3f6   huanghong   update popper ani...
2
      <div>
eccaa940   梁灏   Dropdown add new ...
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
          <Dropdown trigger="hover">
              <a href="javascript:void(0)">
                  下拉菜单
                  <Icon type="ios-arrow-down"></Icon>
              </a>
              <DropdownMenu slot="list">
                  <DropdownItem>驴打滚</DropdownItem>
                  <DropdownItem>炸酱面</DropdownItem>
                  <DropdownItem disabled>豆汁儿</DropdownItem>
                  <DropdownItem>冰糖葫芦</DropdownItem>
                  <DropdownItem divided>北京烤鸭</DropdownItem>
              </DropdownMenu>
          </Dropdown>
          <Dropdown trigger="click">
              <a href="javascript:void(0)">
                  下拉菜单
                  <Icon type="ios-arrow-down"></Icon>
              </a>
              <DropdownMenu slot="list">
                  <DropdownItem>驴打滚</DropdownItem>
                  <DropdownItem>炸酱面</DropdownItem>
                  <DropdownItem disabled>豆汁儿</DropdownItem>
                  <DropdownItem>冰糖葫芦</DropdownItem>
                  <DropdownItem divided>北京烤鸭</DropdownItem>
              </DropdownMenu>
          </Dropdown>
          <Dropdown trigger="contextMenu">
              <a href="javascript:void(0)">
                  下拉菜单
                  <Icon type="ios-arrow-down"></Icon>
              </a>
              <DropdownMenu slot="list">
                  <DropdownItem>驴打滚</DropdownItem>
                  <DropdownItem>炸酱面</DropdownItem>
                  <DropdownItem disabled>豆汁儿</DropdownItem>
                  <DropdownItem>冰糖葫芦</DropdownItem>
                  <DropdownItem divided>北京烤鸭</DropdownItem>
              </DropdownMenu>
          </Dropdown>
dab9c3f6   huanghong   update popper ani...
42
      </div>
ab8aaf95   梁灏   add Dropdown comp...
43
44
45
  </template>
  <script>
      export default {
3e4bab96   梁灏   Dropdown add tran...
46
  
ab8aaf95   梁灏   add Dropdown comp...
47
      }
79633f3c   梁灏   update Dropdown
48
  </script>