add docs explaining forceSync

This commit is contained in:
Leo Horie 2014-08-16 18:01:01 -04:00
parent d496ebfcc2
commit 61da8552c4

View file

@ -67,12 +67,16 @@ m.redraw(true) // force
[How to read signatures](how-to-read-signatures.md)
```clike
void redraw([Boolean force=false]) { GetterSetter strategy }
void redraw([Boolean forceSync]) { GetterSetter strategy }
where:
GetterSetter :: String getterSetter([String value])
```
- **Boolean forceSync** (optional)
If set to true, forces the redraw to be synchronous. By default, event handlers schedule redraws to be done asynchronously in order to allow simultaneous events to run before redrawing (for example, the keypress and input are often used together for inputs). Defaults to `false`
- <a name="strategy"></a>
### m.redraw.strategy