Giter Site home page Giter Site logo

带输入框的弹窗 about leealert HOT 9 CLOSED

ifengshumu avatar ifengshumu commented on May 28, 2024
带输入框的弹窗

from leealert.

Comments (9)

lixiang1994 avatar lixiang1994 commented on May 28, 2024

点击确定时判断textfiled是否为空就可以了吧 我记得Demo里有

from leealert.

ifengshumu avatar ifengshumu commented on May 28, 2024

demo里面没有的, isClickNotClose 这个show以后就没法改变了,我想在show以后根据输入内容动态改变

from leealert.

lixiang1994 avatar lixiang1994 commented on May 28, 2024

Demo里面第二个就是啊

from leealert.

ifengshumu avatar ifengshumu commented on May 28, 2024

发现了 用的 leeShouldActionClickClose ,不是action.isClickNotClose,使用isClickNotClose 需要update

from leealert.

ifengshumu avatar ifengshumu commented on May 28, 2024

试了leeShouldActionClickClose 不行,虽然leeShouldActionClickClose也能不关闭弹窗,但它连点击回调也关了,只能使用isClickNotClose,然后update

from leealert.

lixiang1994 avatar lixiang1994 commented on May 28, 2024

你可以设置isClickNotClose为YES, 然后在action的回调中判断输入框是否非空 手动调用关闭方法, [LEEAlert closeWithCompletionBlock:nil];

from leealert.

lixiang1994 avatar lixiang1994 commented on May 28, 2024

如果你需要leeShouldActionClickClose 也调用点击回调 我也给你更新一版

from leealert.

ifengshumu avatar ifengshumu commented on May 28, 2024

如果你需要leeShouldActionClickClose 也调用点击回调 我也给你更新一版

可以更新在下个版本里面,我先用isClickNotClose解决目前的问题

from leealert.

lixiang1994 avatar lixiang1994 commented on May 28, 2024

已发布 1.6.2版本

from leealert.

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.