← Index Contents

Applications

Application components can be used to start and stop your application, and create some of your components right away.

Coming soon
This section is still in development. In the meantime, refer to the examples and reference documentation from the documentation home page.

Web applications

The @typescene/webapp package exports a few browser-specific classes and functions, primarily the BrowserApplication class. This is a ‘platform specific’ Application class that includes support for URL-based routing as well as methods for rendering components to the DOM.

let app = BrowserApplication.run(
  MainActivity,
  // ... more activities
);