Giter VIP home page Giter VIP logo

我创建了一个按钮点击方法方法里面如下,但是点击两下按钮才会输出一次“1”,能不能设置成菜单弹出,收回的时候点击事件都触发 about ghdropmenudemo HOT 3 OPEN

ZachGuoMingyu avatar ZachGuoMingyu commented on August 12, 2024
我创建了一个按钮点击方法方法里面如下,但是点击两下按钮才会输出一次“1”,能不能设置成菜单弹出,收回的时候点击事件都触发

from ghdropmenudemo.

Comments (3)

shabake avatar shabake commented on August 12, 2024

正常来说你每次点击button都会响应
1.查看你的button响应事件
2.configuration.titles = [configuration creaFilterDropMenuData]; 你选择构造这种模型是侧边弹出的菜单,只有点击的时候可以弹出,弹出后button是被覆盖在蒙版后面的,是点不到的

from ghdropmenudemo.

ZachGuoMingyu avatar ZachGuoMingyu commented on August 12, 2024

正常来说你每次点击button都会响应
1.查看你的button响应事件
2.configuration.titles = [configuration creaFilterDropMenuData]; 你选择构造这种模型是侧边弹出的菜单,只有点击的时候可以弹出,弹出后button是被覆盖在蒙版后面的,是点不到的

那怎么才能在button的点击事件里获取到筛选菜单收回的方法?

from ghdropmenudemo.

ZachGuoMingyu avatar ZachGuoMingyu commented on August 12, 2024

正常来说你每次点击button都会响应
1.查看你的button响应事件
2.configuration.titles = [configuration creaFilterDropMenuData]; 你选择构造这种模型是侧边弹出的菜单,只有点击的时候可以弹出,弹出后button是被覆盖在蒙版后面的,是点不到的

能否在外部也能调用dismiss方法,我尝试了一下没有效果,点击不能收回

from ghdropmenudemo.

Related Issues (20)

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.