fyr.jsPreparing the runtime

Documentation

Components

Register components when you need reusable UI definitions; keep the surrounding page API explicit and small.

Register a component

Component registration is available in the core API. Build page-level functionality with applications and directives first, then introduce reusable components where they remove real duplication.

Fyr.component("status-badge", {
  props: { status: "" },
  template: "<span fyr-text=\"status\"></span>"
});
Keep exploringSee framework examples