SHARE
TWEET

Untitled

a guest Oct 17th, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <template>
  2.   <div id="app">
  3.     <AppDropdown>
  4.       <template slot="toggler">
  5.         <button>Toggle</button>
  6.       </template>
  7.       <AppDropdownContent>
  8.         <AppDropdownItem>Action 1</AppDropdownItem>
  9.         <AppDropdownItem>Action 2</AppDropdownItem>
  10.         <AppDropdownItem>Action 3</AppDropdownItem>
  11.       </AppDropdownContent>
  12.     </AppDropdown>
  13.   </div>
  14. </template>
  15.  
  16. <script>
  17.   import AppDropdown from './components/AppDropdown.vue'
  18.   import AppDropdownContent from './components/AppDropdownContent.vue'
  19.   import AppDropdownItem from './components/AppDropdownItem.vue'
  20.  
  21.   export default {
  22.     name: 'app',
  23.     components: {
  24.       AppDropdown,
  25.       AppDropdownContent,
  26.       AppDropdownItem,
  27.     }
  28.   }
  29. </script>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top