TMTron

Results 42 comments of TMTron

+1 from me. I was quite surprised that auto-imports did not work in IntelliJ when I only used the `change-case` dependency in my `package.json`: see [SO: "Why does auto-import of...

I wouldn't call it a fix - because nothing is broken - actually it's just like a convenience to make auto-import work. I only use IntelliJ, but I guess that...

I'm sorry for the confusion. Unfortunately, I had fixed my GitHub example (which is referenced by the SO question) by adding the `snake-case` package (in addition to `change-case`). I've reverted...

Yes, technically they are different, but semantically they may be equal: i.e. a missing property and a property with the value `undefined` often mean the same thing: For example, look...

I switched to https://www.npmjs.com/package/jsonpath-plus

keep in mind that `this.options.api` will be `undefined` until the gridster-initialization has been done (ref #461) https://github.com/tiberiuzuld/angular-gridster2/blob/8575afa1b65d648830d84ce789a583ea86bb6306/src/app/sections/api/api.component.ts#L56-L59

> Hi , What is this.gridster in above comment this was our own internal structure - please forget it - I've updated my previous comment

You can also use browser events, e.g. - [beforeunload event](https://developer.mozilla.org/en-US/docs/Web/API/Window/beforeunload_event) - [pagehide event](https://developer.mozilla.org/en-US/docs/Web/API/Window/pagehide_event) But note that these are not 100% reliable - eg. on mobile

+1 I asked this on [Stackoverflow](https://stackoverflow.com/questions/54713625/how-to-do-a-compact-push)