Code Monkey home page Code Monkey logo

selecty's Introduction

selectY

 来自于自己去年实习的一个项目中的需求,然后自己抽象了一个共用的select组件

本来可以分文件,把样式和行为分开,然后分文件引入,但是当时实习的时候有用一些其他的组件,有的需要引入一个js,一个css,也遇到了只需要引入一个js就能完成的组件,自己感觉只有一个文件的话,用的时候在引入和文件结构上会很清晰简单,所以当时本着宁可写起来复杂,也要都写到一个js里去,把css都写成了行内样式,写到了js文件里

主要是有一个更新样式的功能,另外,由于项目当时没有作兼容性考虑,所以是chrome运行,未来有时间再作更新和优化。

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.