mardi 12 juillet 2016

Jquery extend function in Ember.js

Is there a way to create equivalent of following code in Ember.js

jQuery.fn.extend({
    functionName: function(myValue){}
});

Also I want this function to be global. This function will be used as

$('textarea').functionName('value');




Aucun commentaire:

Enregistrer un commentaire