poker-html-client
Version:
HTML client for online poker
21 lines (19 loc) • 495 B
text/typescript
/**
* Interface for the page
*/
interface Page {
/**
* Method called upon page activation.
* pageName String Name of the page which is activated.
*/
activate(pageName?: string): void;
/**
* Method called upon page deactivation.
* pageName String Name of the page which is deactivated.
*/
deactivate(pageName?: string): void;
/**
* Performs check that page could be activated
*/
canActivate?(): boolean;
}