Appsemble 0.13.0
Getting Started
Guide
Architecture
Blocks
Action buttonButton listData loaderIntroductionActionsParametersEventsEmit EventsDetail viewerFeedFilterFormListMapMarkdownStatsTable
Development
Deployment
Reference
Remappers

Data Loader

Introduction

A block that fetches data and emits it using the events API.

This can be used to provide data to other blocks.

Actions

ActionRequiredDescription
onLoadtrueAction that gets dispatched when a new filter gets applied. This also gets called during the initial load.

Parameters

ParameterDefaultDescription
skipInitialLoadfalseBy default the onLoad action is triggered immediately. By setting this to true, this won’t happen.

Events

Emit Events

EventDescription
dataEvent that gets emitted once the onLoad action has finished. It can be triggered again by sending a refresh event.

Listen Events

EventDescription
refreshWhen received, the onLoad action will be triggered using the parameters passed through this event, which in turn triggers the data emit event.