Post
Extends:
Direct Subclass:
Indirect Subclass:
The Post component displays a single post. The basic post template just
includes a controls dropdown; subclasses must implement content and attrs
methods.
Attrs
post
Member Summary
| Public Members | ||
| public |
|
|
| public |
Set up a subtree retainer so that the post will not be redrawn unless new data comes in. |
|
Method Summary
| Public Methods | ||
| public |
Build an item list for the post's actions. |
|
| public |
Get the post's classes. |
|
| public |
Get the post's content. |
|
| public |
Get attributes for the post element. |
|
| public |
Build an item list for the post's footer. |
|
| public |
onbeforeupdate(vnode: *): * |
|
| public |
oninit(vnode: *) |
|
| public |
onupdate(vnode: *) |
|
| public |
view(): * |
|
Public Members
public subtree: SubtreeRetainer source
Set up a subtree retainer so that the post will not be redrawn unless new data comes in.
Reference
Source
