Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filter组件支持 mask 支持 onClose #287

Closed
Noah-Bytes opened this issue Jul 15, 2019 · 2 comments
Closed

filter组件支持 mask 支持 onClose #287

Noah-Bytes opened this issue Jul 15, 2019 · 2 comments

Comments

@Noah-Bytes
Copy link

filter组件支持 mask 支持 onClose

@linxz
Copy link
Contributor

linxz commented Sep 12, 2019

近期的将会针对点击 mask 遮罩层做一个处理。:)

@linxz
Copy link
Contributor

linxz commented Sep 24, 2019

已经新增点击 mask 层关闭 filter 功能。

简要说明:

https://github.com/ant-mini-program/mini-antui/blob/master/components/filter/index.md#filter

代码示例:

<filter onMaskTap="toggleFilter" ...

Page({
  data: {
    show: true,
  },
  toggleFilter() {
    this.setData({
      show: !this.data.show,
    });
  }
});

@linxz linxz closed this as completed Sep 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants