[Ver 1.1] Ext.ux.Calculator
Version 1.1 of Ext.ux.Calculator now available @ http://extjs.com/learn/Extension:Calculator
Only two new features:-
1. Added 'CE' (clear last entry) button
2. Added visual feedback when keyboard/numpad is used
As I'm busy with a large project at the moment I will not be adding to this component for at least a couple of months. The calculator as it is supports our requirement perfectly.
I imagine version 2.0 of the calculator will support a 'scientific' mode and memory add/recall etc.
In the meantime, I'm happy for others to contribute to its development and will act quickly on any completed working submissions.
I had planned on writing my own calculator, but yours is already shaping up pretty well. I hope you don't mind, I played around with it and have added several new features:
- Added Memory buttons/functions (store, add, recall, clear)
- Added Backspace button/function
- Added some Quicktips (can be enabled/disabled)
- Several CSS changes/additions
I am also planning on adding a scientific mode and was going to wait until I finished that before I posted, but I thought some might find this one useful for now. I still plan to add a scientific mode to it as time permits.
The source and a screenshot are attached below (sorry, I don't have a public server to host a demo).
In case anyone was wondering, the empty space in the upper-left corner is an indicator to specify if something is stored in the memory (which has a quicktip that gives you it's value).