Lightweight alternative to jQuery for class / id selecting

前端 未结 6 1315
半阙折子戏
半阙折子戏 2020-12-31 07:42

Let\'s say I want to build a non-dependent javascript framework/script. Is there a way to utilize jQuery\'s amazing class and element selecting functionality



        
6条回答
  •  长情又很酷
    2020-12-31 08:14

    The answer to "I need a small JS library that..." is this site: http://microjs.com/

    specifically, you're looking for a selector engine:

    http://microjs.com/#css

提交回复
热议问题