import ThingsToDo from 'rizzo-next/src/components/things_to_do/things_to_do.js'ThingsToDo
Extends:
Member Summary
| Public Members | ||
| public |
|
|
| public |
cards: * |
|
| public |
currentIndex: * |
|
| public |
events: * |
|
| public |
|
|
| public |
options: * |
|
| public |
template: * |
|
| public get |
|
|
Method Summary
| Public Methods | ||
| public |
|
|
| public |
|
|
| public |
cardsFetched(cards: *): * |
|
| public |
clampImageCardTitle(): * Clamp a card title |
|
| public |
fetchCards(): * |
|
| public |
getCurrentIndex(): * |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
lazyLoadImage(url: String): Promise Lazy load an image |
|
| public |
loadImages(images: *): * |
|
| public |
loadMore(e: jQuery.Event): * Load more top things to do. |
|
| public |
loadPrevious(e: *): * |
|
| public |
makeNextList(): * |
|
| public |
Get the next 4 cards to render |
|
| public |
nukeIt() |
|
| public |
render(cards: *) |
|
| public |
showMore() |
|
| public |
|
|
| public |
|
|
Public Members
public cards: * source
public currentIndex: * source
public events: * source
public imagePromises: * source
public options: * source
public template: * source
Public Methods
public addNavigationButtons() source
public animate(reverse: boolean): * source
Params:
| Name | Type | Attribute | Description |
| reverse | boolean |
|
Return:
| * |
public hideShowMore() source
public hideShowPrevious() source
public initialize() source
public lazyLoadImage(url: String): Promise source
Lazy load an image
Params:
| Name | Type | Attribute | Description |
| url | String | Image url to lazy load |
public loadMore(e: jQuery.Event): * source
Load more top things to do. Callback from click on load more button.
Params:
| Name | Type | Attribute | Description |
| e | jQuery.Event | The DOM event |
Return:
| * |
public nukeIt() source
public render(cards: *) source
Params:
| Name | Type | Attribute | Description |
| cards | * |