69

论如何实现一个完美的Select组件

 5 years ago
source link: https://juejin.im/post/5b02b960f265da0b9e655e61
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
前言 下拉列表组件Select可以是前端使用频率最高的UI组件之一。正因此,原生HTML也存在这一标签。但由于对UI的较高追求及统一规范,我们往往不会去使用即不好看又不统一的原生Select标签,而是自己实现。能够写出一个“多数场景下能用”的Select组件,

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK