Appsemble 0.13.0
Getting Started
Guide
Architecture
Blocks
Action buttonButton listData loaderDetail viewerFeedIntroductionActionsParametersEventsFilterFormListMapMarkdownStatsTable
Development
Deployment
Reference
Remappers

Feed

Introduction

A block that displays a feed of cards.

This can be used for example to show a social media feed in an app.

Actions

ActionRequiredDescription
onButtonClickAction that gets dispatched when the button is clicked. The button won't display if this is not defined.
onLoadReplytrueAction to retrieve replies, dispatched on every feed item.
onSubmitReplyAction that gets dispatched when submitting a reply.
onAvatarClckAction that gets dispatched when a user clicks on an avatar.

Parameters

ParameterDefaultDescription
buttonLabelClickThe text that displays inside the button.
titleThe field that will be used as the title of a card.
subtitleThe field that will be used as the sub title of a card.
headingThe field that will be used as a heading of a card.
pictureThe field that will be used to display a picture. Must refer to a single picture.
picturesThe field that will be used to display multiple pictures. Only displays when there are at least two pictures.
descriptionThe field that will be used as the content description of the card.
reply.contentcontentThe field that will be used to read the content of a reply.
reply.authorauthorThe field that will be used to display the author of a reply
reply.parentIdparentIdThe field that will be used to associate with the parent resource when submitting a new reply.

Events

Listen Events

EventDescription
dataThe event that is triggered when data is received. Compatible data that is received will be displayed.