Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Latest commit

 

History

History
18 lines (12 loc) · 705 Bytes

api_data_format.md

File metadata and controls

18 lines (12 loc) · 705 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.