mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 02:11:44 +03:00
99bfde4417
no issue - added `{{on-scroll}}` modifier to replace custom setup and teardown of event handlers inside the component
8 lines
168 B
Handlebars
8 lines
168 B
Handlebars
<div
|
|
{{on-scroll this.onScroll scrollContainer=".gh-main"}}
|
|
...attributes
|
|
>
|
|
<header class="gh-canvas-header-content">
|
|
{{yield}}
|
|
</header>
|
|
</div> |