Decrements the selected keypath.
ractive.subtract( keypath[, number ])
keypath String - ractive.subtract() | Docs |
ractive.subtract( keypath[, number ])
Returns a
Promise(see Promises)keypath
StringThe keypath of the number we're decrementing, e.g.
countnumber
Defaults to
1. The number to decrement by