The Pause option was added because it added more complexity and permutations to the state machine.
This implementation has the following characteristics:
- The implementation uses about 80 lines of code including template wrapper comments, CSS and HTML but excluding the support javaScript that
builds the model complex and runs the state/action transitions.
- The support javascript code is less than 1K of commented code lines plus about 700 commented lines for mustache.js. No other libaries are needed. No JQuery, Knockout or Vue.
- The model complex is a component and can be incorporated into other SAM complexes. Refer to Missile Site for a working example.