poker-html-client
Version:
HTML client for online poker
20 lines (16 loc) • 717 B
text/typescript
import * as ko from "knockout";
import { PageBase } from "./ui/pagebase";
export class TablesFilterPage extends PageBase {
public oldpassword: KnockoutObservable<string>;
public password: KnockoutObservable<string>;
public confirmpassword: KnockoutObservable<string>;
public errors: KnockoutValidationErrors;
public isValid: () => boolean;
constructor() {
super();
this.oldpassword = ko.observable<string>().extend({ required: true });
this.password = ko.observable<string>().extend({ required: true });
this.confirmpassword = ko.observable<string>().extend({ required: true });
this.errors = ko.validation.group(this);
}
}