Attribute | Type | Value | Description |
---|---|---|---|
class |
string |
full |
sets width and height to 100% |
hook |
string |
<unique-name> |
name used for testing with ember-hook |
options |
object |
{<attributes>} |
property object used to spread the attributes to the top level of the component with ember-spread. |
onScrollUp |
string |
<action-name> |
triggers associated action when scrolled up |
onScrollDown |
string |
<action-name> |
triggers associated action when scrolled down |
onScrollYStart |
string |
<action-name> |
triggers associated action when the scroll reaches the top |
onScrollYEnd |
string |
<action-name> |
triggers associated action when the scroll reaches the bottom |
The scroll component is accessible using ember-hook:
- Top level hook -
$hook('<hook-name>')
The scroll component use ember-spread to spread
a property object against the top level of the component.