Today is Friday, very free. There is nothing to do while sitting in front of the computer. People in the product line did not mention any new requirements. There may be new requirements and work arrangements next week, but that is next week. Today I want to write something technical, just as taking notes. My level is limited. I hope everyone can give me some advice and be merciful, haha.
Sometimes we want to extend the functionality of DOM elements and add some custom methods to make it more flexible and convenient to use; let’s take an example first: