Show Me How (SMH)
It’s simple in use, well documented component for async scenarios execution. For example, such scenarios can come in handy when you want to highlight main features of your application.
It as simple as
Add SMH script reference to your page
<script src="[DIR]/show-me-how.min.js"></script>
Create scenario instance…
var scenario = new smh();
Populate steps…
scenario.addStepBlockScreen();
scenario.addStep(function (context) .... )
scenario.addStepGlow( element: ".selector", duration: 400 )
scenario.addStepWait(1000);
scenario.addStepUnblockScreen();
Execute ..
scenario.execute();
No comments:
Post a Comment