35

手摸手实现一个轻量级可扩展的模态框(Modal)组件

 4 years ago
source link: https://juejin.im/post/5e416e78e51d45270f52b062
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.
前言 本文是笔者写组件设计的第九篇文章, 今天带大家实现一个轻量级且可灵活配置组合的模态框(Modal)组件, 该组件在诸如Antd或者elementUI等第三方组件库中都会出现,主要用来提供系统的用户反馈. 之所以会写组件设计相关的文章,是因为作为一名前端

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK