You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm submitting a bug report
The documentation seems broken at this point . A user that does not know Typescript might not understand.
Please tell us about your environment:
Operating System:
Windows 10
Browser:
Firefox 67.04 (64bit)
Language:
ESNext
Current behavior:
Example for "Configuring a Collection Observer" in EsNext imports via autoinject and uses typescipt in constructor.
import {BindingEngine, autoinject} from 'aurelia-framework';
@inject(BindingEngine)
export class App {
myCollection = ["foo"];
constructor(private bindingEngine) {
let subscription = this.bindingEngine.collectionObserver(this.myCollection)
.subscribe(this.collectionChanged.bind(this));
}
collectionChanged(splices) {
// This will fire any time the collection is modified.
}
}
I'm submitting a bug report
The documentation seems broken at this point . A user that does not know Typescript might not understand.
Please tell us about your environment:
Operating System:
Windows 10
Browser:
Firefox 67.04 (64bit)
Language:
ESNext
Current behavior:
Example for "Configuring a Collection Observer" in EsNext imports via autoinject and uses typescipt in constructor.
See
Expected/desired behavior:
Clean documentation
The text was updated successfully, but these errors were encountered: