Adding some documentation, also added the 2d/fancy-input.html demo.