github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/ui/app/components/chart-primitives/v-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-vertical-annotation {{annotation.iconClass}} {{annotation.staggerClass}}" style={{annotation.style}}> 4 <button 5 type="button" 6 title={{annotation.label}} 7 class="indicator {{if annotation.isActive "is-active"}}" 8 {{on "click" (fn this.selectAnnotation annotation.annotation)}}> 9 {{x-icon annotation.icon}} 10 </button> 11 <div class="line" /> 12 </div> 13 {{/each}} 14 </div>