##// END OF EJS Templates
added type parameter to dojo.store.api.SortInformation,...
added type parameter to dojo.store.api.SortInformation, added sort function to query sort option

File last commit:

r2:1e22cac2aaf4 v1.0.0-rc1 default
r20:1c7650c17856 v1.0.8 default
Show More
StatefulTests.ts
25 lines | 461 B | video/mp2t | TypeScriptLexer
cin
Added events map support to _WidgetBase, corrected attributes map support in _WidgetBase
r2 import * as Stateful from "dojo/Stateful";
import { StatefulAttrs, watch } from "./traits";
cin
Initial commit, project structure.
r0
interface ScheduleAttrs {
title: string;
duration: number;
}
declare class Schedule extends Stateful<ScheduleAttrs> {
title: string;
}
const model = new Schedule({duration: 10, title: "Test event"});
model.get("title");
model.get("duration");
cin
Added events map support to _WidgetBase, corrected attributes map support in _WidgetBase
r2 model.set("duration", 12);
watch(model, "duration", v => v);
declare const o : StatefulAttrs<Schedule>;