mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
ea9c8c03fe
refs https://github.com/TryGhost/Ghost/pull/15550 Pulled out of the rolled up node+ember-js+ember-template rollup linter update PR as it required fairly extensive changes. - bumped package - renamed `no-down-event-binding` to `no-pointer-down-event-binding` - disabled `no-pointer-down-event-binding` rule - disabled `no-triple-curlies` rule - ran `yarn lint:hbs --fix` - updated integration tests to match Octane syntax - fixed various one-off errors - updated .lint-todo
19 lines
899 B
Handlebars
19 lines
899 B
Handlebars
|
|
<ul role="listbox" aria-controls="ember-power-select-trigger-{{@select.uniqueId}}" {{did-insert this.addHandlers}} ...attributes>
|
|
{{#if @select.loading}}
|
|
{{#if @loadingMessage}}
|
|
<li class="ember-power-select-option ember-power-select-option--loading-message" role="option" aria-selected="false" aria-disabled="true">{{@loadingMessage}}</li>
|
|
{{/if}}
|
|
{{/if}}
|
|
|
|
{{#vertical-collection @options minHeight=30 estimateHeight=6 bufferSize=10 as |opt index|}}
|
|
<li class="ember-power-select-option"
|
|
aria-selected="{{ember-power-select-is-selected opt @select.selected}}"
|
|
aria-disabled={{if opt.disabled "true"}}
|
|
aria-current="{{eq opt @select.highlighted}}"
|
|
data-option-index="{{@groupIndex}}{{index}}"
|
|
role="option">
|
|
{{yield opt @select}}
|
|
</li>
|
|
{{/vertical-collection}}
|
|
</ul> |