formatting the value of the bound Input in the desired format. And, to limit to enter the only permitted string.
bind(Options)
var formatter = new ax5.ui.formatter();
formatter.bind({
target: $("#input"),
pattern: "date"
});
formatter.bind({
target: $("#input"),
pattern: "custom",
getEnterableKeyCodes: function(){},
getPatternValue: function(){}
});
Type: String
formatter unique id
Type: Dom Element | jQuery Object
".input-Group" elements that are the target of the picker
Type: String
"money | money(int) | number | date | date(time) | time | bizno | phone | custom"
Type: Function
You can define the keyCode collection to allow input.
Type: Function
It can be converted to the format required the entered value.
ax5formatter()