Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 609 Bytes

api_data_format.md

File metadata and controls

19 lines (12 loc) · 609 Bytes

data-format Attribute

"data-format" is established as one of HTML5 custom attributes to control behaviors of input elements at client. Efw framework will add focus and blur behaviors to input elements by data-format attributes when page-loading.

Sample for JSP

<input type="text" data-format="#,##0.00">
<input type="text" data-format="0.00%">
<input type="text" data-format="yyyy-MM-dd HH:mm:ss SSS">
<input type="text" data-format="yy-M-d H:m:s S">

API

To reference the API of formatter ,without supporting to Japan WAREKI.