fyr.jsPreparing the runtime

Documentation

Plugins

Plugins provide extension points for directives, components, controllers, and services.

Register an extension

Keep plugins focused and document every public behavior they add.

Fyr.plugin("analytics", context => {
  context.on("page:view", event => console.log(event));
});
Keep exploringSee framework examples