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

Development mode

Open eggp opened this issue 4 years ago • 4 comments

Is your feature request related to a problem? Please describe. Create a development mode by forRoot when dependencies are not loaded. Typically used in ng serve mode ...

eggp avatar Nov 30 '20 16:11 eggp

Hi @eggp! Could you explain a little bit more your use case scenario?

maxandriani avatar Nov 30 '20 21:11 maxandriani

I think @eggp means something like

NgxHotjarModule.forRoot({hj: environment.hj, disabled: !environment.production})

alecrt avatar Dec 15 '20 14:12 alecrt

@alecrt I think the second parameter is for version. i do not see disabled. Its throwing error. How do I import it only for production mode

Santoshah avatar Feb 03 '22 13:02 Santoshah

@maxandriani any intentions on that feature request ?

ahussein3 avatar Feb 15 '22 09:02 ahussein3