utils.nf.scroll-area-action-context Class
Action context event object for an nf-scroll-area scroll event.
Item Index
Methods
Methods
normalizeScale
-
scale
-
val
Ensures the output of a scale function is something palatable by SVG.
Parameters:
-
scale
d3.scalethe scale to use to get the value
-
val
Anythe value to transform with the scale
Returns:
the output of the scale function, but if NaN, it will return 0.
Properties
data
Unknown
The optional data to send with the action
Default: null
originalEvent
Event
The original scroll event object
Default: null
outerHeight
Number
The outer height of the element
Default: 0
outerWidth
Number
The outer width of the element
Default: 0
scrollHeight
Number
The scroll height of the element.
Default: 0
scrollLeft
Number
The scroll left in pixels.
Default: 0
scrollLeftMax
Number
The calculated maximum value for scrollTop in pixels.
scrollLeftPercentage
Number
The calculated percentage, in decimals, of content scrolled.
scrollTop
Number
The scroll top in pixels.
Default: 0
scrollTopMax
Number
The calculated maximum value for scrollTop in pixels.
scrollTopPercentage
Number
The calculated percentage, in decimals, of content scrolled.
scrollWidth
Number
The scroll width of the element.
Default: 0
source
Ember.Component
The component that fired the event
Default: null