Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 580 Bytes

api_data_format.md

File metadata and controls

17 lines (12 loc) · 580 Bytes

data-format Attribute

data-format is established as one of HTML5 custom attributes to control behaviors of input elements at client. The 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 Japan WAREKI.