From 42cb9293e226365508dc6a6f6c6fcc31e6979fe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sinan=20=C3=96zt=C3=BCrk?= <72804437+Sinan997@users.noreply.github.com> Date: Fri, 4 Aug 2023 15:38:13 +0300 Subject: [PATCH] Update Internet-Connection-Service.md --- docs/en/UI/Angular/Internet-Connection-Service.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/UI/Angular/Internet-Connection-Service.md b/docs/en/UI/Angular/Internet-Connection-Service.md index 0a8aca69f4..9ef26a082e 100644 --- a/docs/en/UI/Angular/Internet-Connection-Service.md +++ b/docs/en/UI/Angular/Internet-Connection-Service.md @@ -14,14 +14,14 @@ When you inject InternetConnectionService you can get the current internet statu **You can get via signal** ```ts -class someComponent{ +class SomeComponent{ internetConnectionService = inject(InternetConnectionService); isOnline = this.internetConnectionService.networkStatus } ``` **or you can get as observable** ```ts -class someComponent{ +class SomeComponent{ internetConnectionService = inject(InternetConnectionService); isOnline = this.internetConnectionService.networkStatus$ }