Event Namespace in Jquery
Jquery provides custom events using namespace. A Event Callback method can be attached with a custom event to a HTML element. A namespace can be created and used to a event using dot operator. In this Demo,“We will attach a click event with namespace for all the LI elements inside a Un-Ordered List”. Below code […]
2-State Custom Animation Using From-To Pair
A custom CSS3 Animation can be created using ‘kreyframe‘ property. Using Keyframe the animation definition can be given using ‘from’ and ‘to’ keyword. These keywords designates the initial state and final state of an animation. Using from/to keyword only 2 states of animation are possible. If we need to have multiple state animation, we can […]
Jquery Promise Object For Asynchronous Method Handling
Jquery “promise()” method provides better way for handling asynchronous method. In JavaScript there are two types of methods, synchronous and asynchronous method. PROBLEM DOMAIN: “Asynchronous method generally has some callback like success, error or complete.There are many situation while coding in java script where we need to call a block of code after an asynchronous […]
Getting Started With Tornado Web framework
“Tornado” is a Python based framework to create web applications. Most important features of this framework are:- —Asynchronous I/O calls. —Web Sockets. —Maximum Polling […]