Browse Source

Add open method to window service

pull/16908/head
Masum ULU 3 years ago
parent
commit
30d996f4b1
  1. 4
      npm/ng-packs/packages/core/src/lib/services/window.service.ts

4
npm/ng-packs/packages/core/src/lib/services/window.service.ts

@ -10,6 +10,10 @@ export class AbpWindowService {
return this.navigator.clipboard.writeText(text);
}
open(url?: string | URL, target?: string, features?: string): Window {
return this.window.open(url, target, features);
}
reloadPage(): void {
this.window.location.reload();
}

Loading…
Cancel
Save