github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/ui/app/components/chart-primitives/h-annotations.hbs (about) 1 <div data-test-annotations class="line-chart-annotations" style={{this.chartAnnotationsStyle}} ...attributes> 2 {{#each this.processed key=@key as |annotation|}} 3 <div data-test-annotation class="chart-horizontal-annotation" style={{annotation.style}}> 4 <button 5 type="button" 6 title={{annotation.a11yLabel}} 7 class="indicator {{if annotation.isActive "is-active"}}" 8 {{on "click" (fn this.selectAnnotation annotation.annotation)}}> 9 {{annotation.label}} 10 </button> 11 <div class="line" /> 12 </div> 13 {{/each}} 14 </div>