PostStreamScrubber
Extends:
The PostStreamScrubber
component displays a scrubber which can be used to
navigate/scrub through a post stream.
Attrs
stream
className
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
handlers: {} |
|
public |
|
|
public |
|
|
public |
|
|
public |
stream: * |
Method Summary
Public Methods | ||
public |
Go to the first post in the discussion. |
|
public |
goToLast() Go to the last post in the discussion. |
|
public |
onclick(e: *) |
|
public |
oncreate(vnode: *) |
|
public |
oninit(vnode: *) |
|
public |
onmousedown(e: *) |
|
public |
onmousemove(e: *) |
|
public |
|
|
public |
onremove(vnode: *) |
|
public |
onresize() |
|
public |
onupdate(vnode: *) |
|
public |
Get the percentage of the height of the scrubber that should be allocated to each post. |
|
public |
updateScrubberValues(animate: Boolean) Update the scrollbar's position to reflect the current values of the index/visible properties. |
|
public |
view(): * |
Public Methods
public onclick(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public oncreate(vnode: *) source
Params:
Name | Type | Attribute | Description |
vnode | * |
public oninit(vnode: *) source
Params:
Name | Type | Attribute | Description |
vnode | * |
public onmousedown(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public onmousemove(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public onmouseup() source
public onremove(vnode: *) source
Params:
Name | Type | Attribute | Description |
vnode | * |
public onresize() source
public onupdate(vnode: *) source
Params:
Name | Type | Attribute | Description |
vnode | * |
public percentPerPost(): Object source
Get the percentage of the height of the scrubber that should be allocated to each post.