-
Notifications
You must be signed in to change notification settings - Fork 3
Aurelia Snippets
Prosper Otemuyiwa edited this page Jul 9, 2016
·
1 revision
canActivate() {
}
activate() {
}
deactivate() {
}
canDeactivate() {
}
created(owningView: View, myView: View) {
}
bind(bindingContext: Object, overrideContext: Object) {
}
attached() {
}
detached() {
}
unbind() {
}
aurelia.use.plugin('');
@syncChildren(property, changeHandler, selector)
@skipContentProcessing
@useView('')
@noView
@inject('')
@customAttribute('')
@bindable('')
import {LogManager} from 'aurelia-framework';
import {ConsoleAppender} from 'aurelia-logging-console';
LogManager.addAppender(new ConsoleAppender());
LogManager.setLevel(LogManager.logLevel.debug);
export function configure(aurelia) {
aurelia.use
.standardConfiguration;
aurelia.start().then(() => aurelia.setRoot());
}
export function configure(aurelia) {
aurelia.use
.standardConfiguration()
.developmentLogging();
};
export function configure(aurelia) {
aurelia.use
.standardConfiguration()
.developmentLogging()
.globalResources('${1}');
aurelia.start().then(() => aurelia.setRoot());
};
configureRouter(config, router) {
config.title = '';
config.map([
{ route: ['',''], name: '', moduleId: '', nav: true, title:'' },
]);
this.router = router;
}
import { '' } from 'aurelia-framework';
export class {2} {
constructor(){
}
}