chinass / example Goto Github PK
View Code? Open in Web Editor NEW样例-http://chinass.github.io/example/static/index.html
样例-http://chinass.github.io/example/static/index.html
现在遇到一种现象(一页式应用中),在A页面,弹出侧边栏后,点击B页面,再弹出侧边栏,两个侧边栏重叠,显得很难看,如果开启,点击侧边栏外,侧边栏消失,又会面对这样的问题:在侧边栏上弹出其他元素后,失焦造成侧边栏消失,无法继续编辑。
同时,还有一种场景,也要求侧边栏不应在点击侧边栏外其他位置时,收回侧边栏,描述如下:
我们在Demo中的代码编辑区编写内容,同时通过侧边栏查看api,又参照api,继续编写代码。
想远一点,如果我们的用户在进行富文本编辑时,调用多个侧边栏查看不同的数据报表,侧边栏中的图表可以直接拖拽入富文本区域中,此时需要进行多视窗操作(有点像在桌面应用中的效果),这时我们可以让侧边栏这种弹出元素实现最小化,然后在页面特定位置给出对于弹出元素组的管理,实现多面板的任意最小化、还原、给面板添加拖拽改变大小的句柄等等。
util.slidebar控件中,侧边栏中的“关闭”按钮无法正常获取高度,导致该按钮无法正常显示!
目前发现,错误显示后,重新调整页面大小,即可让该按钮获取到高度,因此推测,解决办法是,在侧边栏载入页面的回调中,获取模板(页面)的高度,然后resize侧边栏高度即可。
编写常用的echarts组件,编写Api
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.