0.0.3 • Published 9 years ago
ember-delay-value v0.0.3
Ember-delay-value addon
This addon is extend to ember-debounced-input
Installation
ember install ember-delay-value##Demo Demo page
Components
The following components are available when you install ember-delay-value

Basic
{{delay-input val=val }}delay-input
{{delay-input
type={default:"text", ['textarea', 'number'...] }
val=val
sync=sync(boolean)
horizontal=horizontal (boolean)
reversePosition=reversePosition (boolean)
reverseDirection=reverseDirection (boolean)
expand=expand (boolean)
delay=delay (number-time)
}}delay-block
{{#delay-block val=val delay=delay sync=sync as |value|}}
{{input value=value}}
{{/delay-block}}val: The bound value to be debounced]delay: Number of milliseconds to wait. Defaults to 500sync: Usually debounced properties are one way, if you plan to manually update val, this will keep val and value in sync. Defaults to false.type: The type inputinputClass: The class for the input in the containerhorizontal: Direction loader, when true(left to right), when false(bottom to top). Default: truereversePosition: Position loader in container, when true loader start from left , when false loader start from right. default: falsereverseDirection: Loader reverse direction. Default: false
For more information on using ember-cli, visit http://ember-cli.com/.