Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#148·javascript-state-machine

Within the transition callback, the cannot not work right

Author: xiekw2010Created Jan 18, 2018Updated Jun 1, 2021

codepen for this: https://codepen.io/xiekw2010/project/editor/XLpBjL

Within the onAfterTransition oberserver

    coder.disabled = fsm.cannot("shenpi"); // This should be false!!!

Source: jakesgordon/javascript-state-machine

View original on GitHubView discussion on GitHub