Continuing the theme from the
previous blog entry, here's the current state of my 'menubar'
component, i.e., this is all I need to put into an HTML file...
...to get this:
The above is a Bootstrap.css menubar, created from the Knockout
component shown above.
The HTML below is the template that styles the menubar, notice
that there's JavaScript logic, thanks to Knockout, within the
template:
Finally, here's the business logic that connects the template to
the component, which...