Create a new REPO: JustJavac /the-front-end-knowledge-you-may-dont-know

Discover the front end that we’ve missed. All discussions will take place in the form of issues, and anyone can watch the discussion in the Issues area.

The purpose of this REPO is to collect and discuss, and the final content will be sorted into articles, PPT, PDF and published in a small circle.

  • Notice the # 1
  • Index # 2

origin

Some time ago, someone encountered a problem in the wechat group:

When the input box is at the bottom, the pop-up virtual keyboard blocks the input box.

So I sent him an API: Element scrollIntoViewIfNeeded (opt_center), so the name implies, is in need of the Element scroll to viewing area.

For the front-end API, we are most concerned with browser compatibility:

scrollIntoViewIfNeeded justjavac

Then he asked me:

How can I learn about these new front-end technologies and apis?

First of all, this is not a new API, so let’s take a look at its support:

  • Android 2.3 (6 years ago)
  • Safari 5.1 released on June 20, 2011
  • 2011-09-16 Chrome 15 released
  • IOS 5.1 released on March 7, 2012
  • .

This is a 6 year old API. A GitHub search brings up 38,305 results.

scrollIntoViewIfNeeded search on github

This is already a widely used API.

So I created this REPO to sort out some of the more practical but less common front-end technologies.

advice

In fact, I am opposed to fragmented reading. Fragmented reading can only be used as a supplement to one’s knowledge. However, if one really wants to learn the front end, one should read more books, build a complete knowledge system from scratch, and then take fragmented reading as a supplement to the knowledge points in one’s knowledge system.

License

Creative Commons license

This work was created by justjavac and is licensed under the creative Commons attribution – non-commercial – share alike 3.0 mainland China license. All reprinted articles, translated articles, or articles contributed by other authors, the copyright belongs to the original author.