RefreshTool.ts 370 B

1234567891011121314
  1. module INSPECTOR {
  2. export class RefreshTool extends AbstractTool {
  3. constructor(parent:HTMLElement, inspector:Inspector) {
  4. super('fa-refresh', parent, inspector, 'Refresh the current tab');
  5. }
  6. // Action : refresh the whole panel
  7. public action() {
  8. this._inspector.refresh();
  9. }
  10. }
  11. }