ractive.toggle()
edit this pageToggles the selected keypath. In other words, if foo
is truthy, then ractive.toggle('foo')
will make it false
, and vice-versa.
ractive.toggle( keypath )
Returns a
Promise
(see Promises)keypath
String
The keypath to toggle the value of