mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 20:34:02 +03:00
74b08e19b8
no issue See https://github.com/emberjs/rfcs/blob/master/text/0689-deprecate-has-block.md
16 lines
508 B
Handlebars
16 lines
508 B
Handlebars
{{#if this.isVisible}}
|
|
<div
|
|
{{did-insert this.didInsertLoader this}}
|
|
class="{{this.loaderClassNames}}{{if this.viewportEntered " in-viewport"}}{{if this.isDoneLoading " reached-infinity"}}"
|
|
data-test-infinity-loader>
|
|
|
|
{{#if (has-block)}}
|
|
{{yield this.infinityModelContent}}
|
|
{{else}}
|
|
{{#if this.isDoneLoading}}
|
|
{{else}}
|
|
<div class="gh-loading-spinner"></div>
|
|
{{/if}}
|
|
{{/if}}
|
|
</div>
|
|
{{/if}} |