Thursday, July 2, 2015
. For example, to show our message when any paragraph in our test page is clicked, what is the extjs code on paragraph click?
Ext.onReady(function() {
Ext.select('p').on('click', function() {
alert("You clicked a paragraph");
});
});
or
Ext.onReady(function() {
var paragraphClicked = function() {
alert("You clicked a paragraph");
}
Ext.select('p').on('click', paragraphClicked);
});
Subscribe to:
Post Comments (Atom)
What is restrict option in directive?
The restrict option in angular directive, is used to specify how a directive will be invoked in your angular app i.e. as an attribute, class...
-
JavaScript is a general-purpose programming language designed to let programmers of all skill levels control the behavior of software objec...
-
jQLite is a subset of jQuery that is built directly into AngularJS. jQLite provides you all the useful features of jQuery. In fact it provi...
No comments:
Post a Comment