The class JQuery contain some useful functions from this library, but very small set of them. Is where a way to add other jquery functions in to JQuery class by using extension functions or something over way? The code below do not work:
//Uncaught ReferenceError: noImpl is not defined:
/*fun JQuery.hide(): JQuery {js.noImpl;
return this;
}*/
//event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
fun JQuery.hide() : JQuery = this
upd: sorry, but i’m found solution, this works fine:
native public fun JQuery.hide() : JQuery = js.noImpl