Summary
In this chapter we've gone through an Ext JS plugin, which provides a clear button for text components to clear the content within it. We can see that developing a single plugin can be used in several types of components, and how easily we can inject the functionality of the plugin.
In the next chapter we will develop an Ext JS extension for a fancy animated message bar. The message bar will provide a facility to have a configurable duration timer for showing a message. It will have a close button, and it will also be able to show an "error" and a "successful" icon, beside the message.