ngx-responsive icon indicating copy to clipboard operation
ngx-responsive copied to clipboard

Reason for using observables

Open saikiriti11 opened this issue 6 years ago • 1 comments

Hi,

  1. I would like to know why observables are being used in asynchronous way for finding the device information instead of returning the respective information synchronously without the need to subscribe to observable.

  2. Is there any way where the provided services have methods which return boolean values for finding device information which can be used in java script. For example, I want isMobile() in the service which returns a boolean value just like *isMobile directive.

saikiriti11 avatar Apr 23 '18 14:04 saikiriti11

Hello,

1 - Not sure but maybe just to make uniform all the code with observable. 2 - Don't know sorry

no-more avatar Dec 04 '18 10:12 no-more