Frontend

  1. What are it?
  2. How do you use it?
  3. How do you build it?
  4. How do you extend it?
  • Intro: Introduce the idea in one sentence.
  • Explanation: An elevator pitch that signals the reader to continue or not (keep looking for relevant page).
  • Sections/Features: Separate sections/sub-sections (h2s/h3s) consistently. This will build the ToC.
  • Next Steps: Next actions to take that are intentional versus simply additional reading.
  • Code Examples: Code examples and snippets.
  • Insights: Tips, post scriptum, creative links.
  • Additional Reading: Link to related ideas/topics/guides/recipes.

Introduction

Streams UI comes with a small native JavaScript utility to create dynamic interaction with UI components easy.

Basic Usage

Include Assets

<script src="/vendor/streams/ui/js/index.js"></script>

Make sure to publish assets during installation.

Registering Components

Rendering Components

Actions

Events