search

Next Section: 利用优化的get与each设置样式1756 plays

5 秒后自动播放下一节
  Watch Again

Black Horse Cloud Classroom JavaScript Advanced Framework Design Video Tutorial

Introduction >
ChapterCourseware
Chapter1Overall introduction to framework design

Overall introduction to framework design

14 minutes00 seconds
Chapter2Selector module 1

Selector Engine-1-Traditional method of obtaining elements

03 minutes27 seconds

Selector Engine-2-Functionalization

17 minutes08 seconds

selector engine-3-optimize each-1

04 minutes01 seconds

selector engine-4-optimize each-2

14 minutes13 seconds

Use optimized get and each to set styles

19 minutes17 seconds

Add container parameters to the get method

07 minutes42 seconds
Chapter3Selector module 2

Design the get method to achieve the acquisition of basic selector elements

20 minutes02 seconds
Chapter4Selector module 3

byclassName method and efficiency upgrade

21 minutes46 seconds

Implement a complete capability testing method

18 minutes39 seconds

Implementation of getClass method

24 minutes20 seconds

Handle push compatibility in IE

10 minutes19 seconds

Extension - Ideas for optimizing push

05 minutes11 seconds

Integrate js functions

12 minutes08 seconds
Chapter5Selector module 4

Implement the search for elements under a certain DOM object

17 minutes15 seconds
Chapter6Selector module 5

Assume the context is a dom array

12 minutes58 seconds
Chapter7Selector module 6

Handle the case where the context parameter is a string

15 minutes18 seconds
Chapter8Selector module 7

Analyze compound selector structure

14 minutes14 seconds

Implement a combined selector

11 minutes37 seconds
Chapter9Module selector 8

Handling descendant element selectors - ideas

18 minutes37 seconds

Handling Descendant Element Selectors - Implementation and Verification

Chapter10Selector module algorithm end

Summary of ideas-pseudocode and simplified writing methods

33 minutes30 seconds
  • CancelreplySending
  • Cancelpost a noteSending