I\'m using a Knockout observable called this.expanded to both handle whether or not to render some HTML, and also using the value inside an aria-expanded
this.expanded
aria-expanded