Answer the question
In order to leave comments, you need to log in
How to write your own JS plugin?
everything is clear with JQuery, there is extend.
There was a desire to rewrite my JQuery plugin to native js, using webpack and es6, so that later I could wrap it all in an npm package. Recommend an article detailing how to create your own native JS module.
Answer the question
In order to leave comments, you need to log in
Can you just open the source of some js plugin with npm? This will make it immediately clearer. And if it doesn’t, you don’t need to write a js-plugin for now.
with nativeJS everything is clear - there is Object.assign()
I didn't understand what extend and plugins have to do with it....
your jQuery plugin on native js,lolshtaaaaa
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question