mr-angular-pages
v1.0.0
Published
Helpers for dealing with Lalala pages in angular
Downloads
21
Readme
mr-angular-pages
Requirements
- a
fetch()
polyfill. (likenpm:whatwg-fetch
)
Getting started
import {Inject} from 'npm:fd-angular-core';
import {Page} from 'npm:mr-angular-pages';
@Page({
template: `<p>{{ app.message }}</p>`
children: [
// Regular child states go here.
]
})
class HomePage extends BasicPage {
constructor() {
// Summary is available here:
// this.title, etc...
}
activate() {
// Details are available here
}
someAction($event) {
// perform some action here
}
get someData() {
// calculated property
}
}