documented the feature form the last commit...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-05-02 17:19:40 +04:00
parent be9c4ebdc9
commit ebd4c17d91

View File

@ -66,9 +66,9 @@
// called after (post) the change is made. If two are given then the first
// is called before the change and the second after the change.
// The callbacks are passed the current action.
// The callback function will have this set to the same value as the toggler
// itself, e.g. if the toggler is called as a method, the callback's this
// will reference the object.
// The callback function will have 'this' set to the same value as the
// toggler itself, e.g. if the toggler is called as a method, the
// callback's 'this' will reference the object.
//
// NOTE: the pre-callback will get the "intent" action, i.e. the state the
// we are changing into but the changes are not yet made.