pulsar library

Classes

Component
The base class to create a component. Every component extends from this class and defines props(), tagName, template(), style() and methodRegistry. A Component structure must be like the following syntax:
ContentView
LayoutView
Renderable
Router
View

Functions

loadFile(String path) Future<String>
Function to load templates and styles from a url. The base directory is always considered the web/ directory so you must use the following path styles: components/component_name/component_name.html or component_name.css layouts/layout_name/layout_name.html or layout_name.css Note that every template must be at least inside of the web/ directory to work correctly and avoid to use paths like web/components/component_name/component_name.html.
runApp(View view) → void
Main function to run the List of Components to append to the body and it is also useful to pass it the current Component Provider to register the Components we want to insert in the templates of other Components.

Typedefs

PulsarEvent = Event
Extends from Event. It is the Event type of the @events in the templates. example: @click, @submit, @mouseover