Giter Site home page Giter Site logo

droplist's Introduction

droplist

changelog

v0.6

  • [+] 支持传入overlay实例对象作为浮层。即开放了下拉浮层的配置。popup配置。
  • [+] 支持设置输入框为只读。readonly属性配置。readonly配置。
  • [+] 在展开下拉浮层的时候,将当前选择项显示在可视范围内。(若所有下拉选项的渲染时间超过300ms,则该功能不会生效,主要是避免影响用户的操作)
  • [*] 不默认加载样式。index.css文件需要手动来引入(S.use("gallery/droplist/0.6/index.css"))。

v0.5

  • [+] 增加复选select功能
  • [+] 增加由json数据渲染多级联动select功能,支持单选联动、多选联动、混合联动
  • [+] 增加了droplist的样式钩子,可配置样式名。config属性名: droplistCls
  • [+] 从现有select结构渲染,增加了placeholder属性配置占位符。

v0.4

  • [*] bugfix

v0.3.1

  • [+] 在freedom模式下,配置customData,可以设置默认的value值。
  • [+] 增加inputName和ariaLabel配置,分别用于设置输入框的name属性和aria-label属性。
  • [*] 一些调整和bugfix

v0.3

  • [*] kissy版本升级为1.4的兼容。去掉对template的依赖。
  • [*] 替换本地的lap为“gallery”的对应版本。
  • [*] 部分代码调整及bug修复
  • [+] 支持placeholder显示。placeholder配置
  • [+] 支持自定义内容输入。freedom配置
  • [+] 支持自动匹配输入项。autoMatch配置
  • [+] 支持搜索无结果的显示配置。emptyFormat配置
  • [+] 增加doWith方法。针对指定的值是否匹配,以执行对应的处理逻辑。
  • [+] 添加ARIA属性支持
  • [+] 支持自定义菜单项模板

V0.2

  • [+]支持关键词异步搜索
  • [+]支持focus聚焦到当前视图内。
  • [*]修复demo中首次显示错位和toggle显示错误的问题。
  • [*]数据源存储调整,搜索结果也存到datalist中。
  • [*]部分实现调整和优化

V0.1

  • [+]基础的下拉菜单模拟功能
  • [+]支持本地数据和异步数据初始化
  • [+]支持多种结构渲染的方式
  • [+]支持搜索
  • [+]支持大数据量的渲染优化
  • [+]支持键盘操作
  • [+]支持数据定制

droplist's People

Contributors

akecn avatar dickeylth avatar jianhuifan avatar kissygallery avatar

Watchers

 avatar

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.