devexpress-gantt
Version:
DevExpress Gantt Control
16 lines (14 loc) • 446 B
text/typescript
import { CommandBase } from "../CommandBase";
import { SimpleCommandState } from "../SimpleCommandState";
export class ZoomOutCommand extends CommandBase<SimpleCommandState> {
public getState(): SimpleCommandState {
return new SimpleCommandState(true);
}
public execute(): boolean {
return super.execute();
}
protected executeInternal(): boolean {
this.control.zoomOut();
return true;
}
}