Giter VIP home page Giter VIP logo

v-dropdown-menu's Introduction




I'm a UI Developer based in Istanbul.

#javascript, #nuxt, #vue, #scss




v-dropdown-menu's People

Contributors

scrum avatar selimdoyranli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

dkorytko emkc20

v-dropdown-menu's Issues

Styling of container

Hi!

I would love to be able to style the container of the dropdown menu. Specifically, I would like to change the default CSS for min-width. Would it be an option for you to maybe add a property for us to set specific CSS classes for the container?

dropdown-closer + @click not working in Vue.

First - love the plugin. Nice work.

My only issue is when trying to add a dropdown-closer to an item with a @click attached it seems to stop it from working.

Below is my current code:

    <dropdown-menu withDropdownCloser transition="zoom" overlay:false>
      <button slot="trigger">{{ SortOption }}</button>
      <ul slot="body">
        <!-- Gets the sort options from the Store -->
        <li v-for="item in options" :key="item.id">
            <button @click="changeSortOption(item.name); dropdown-closer" class="text-black">
                {{ item.name }}
            </button>
        </li>
        <button>Close</button>
      </ul>
      <div slot="footer">Dropdown Footer</div>
    </dropdown-menu>

Any fix for this?

"withDropdownCloser" doesn't work

Hi again there.

I'm using Pug in my Vue project, and here is a snippet where I'm trying to use the withDropdownCloser property. I can simply not make it work. The dropdown won't close when I click on the router-link "Account".

dropdown-menu(direction="right" :overlay="false")
    span(slot="trigger") User
    .user-dropdown(slot="body")
        router-link.submenu-user(to="/account" :withDropdownCloser="true") Account
        span.submenu-user(@click="logout") Sign Out

Am I doing something terribly wrong here?

isOpen prop is ignored

I would like to be able to programatically open and close to dropdown through a prop. It looks like there was an intension to be able to do this with the isOpen prop but there doesn't seem to be a watch in v-dropdown-menu on this prop.

A couple things need to happen to have this work. Add a 'none' mode so internally events won't be listened to and then add a watch for isOpen to open and close the drop down upon request

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.