diff --git a/docs/mithril.redraw.md b/docs/mithril.redraw.md index 188c9220..443a41da 100644 --- a/docs/mithril.redraw.md +++ b/docs/mithril.redraw.md @@ -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` + - ### m.redraw.strategy