Quantcast
Channel: Stories by Idan Cohen on Medium
Browsing all 16 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Using Firebase Timestamp with Angular Bootstrap’s Datepicker

Firestore, the cloud database service by Google’s Firebase, recently announced that dates stored in its documents will be retrieved by default as Timestamps.Timestamp is a javascript object with two...

View Article


Image may be NSFW.
Clik here to view.

Thanks Ganesh for the feedback!

Thanks Ganesh for the feedback!I admit I haven’t tested it on IE (mostly because im using a mac). Could you be more specific about the version and I’ll download a test machine?

View Article


Image may be NSFW.
Clik here to view.

I’ve seen a few solutions but they all require some manipulation to the...

I’ve seen a few solutions but they all require some manipulation to the client’s browser (advanced settings, plugins, etc.). I don’t know of any way to do it through your app.

View Article

Image may be NSFW.
Clik here to view.

So inspiring!

So inspiring!

View Article

Image may be NSFW.
Clik here to view.

Done! thank you!

Done! thank you!StackBlitz

View Article


Image may be NSFW.
Clik here to view.

Excellent point.

Excellent point.In general, printing backgrounds is a browser feature, and users should mark this option manually in the print dialog:But… There’s a really cool hack -.box-with-background {...

View Article

Image may be NSFW.
Clik here to view.

Sounds like you found the best solution — Adding extra height to the header...

Sounds like you found the best solution — Adding extra height to the header and footer place holders.

View Article

Image may be NSFW.
Clik here to view.

I see. looks like around 250px things start to go wrong.

I see. looks like around 250px things start to go wrong.Can’t figure out why. If you do, please share!

View Article


Image may be NSFW.
Clik here to view.

Excellent question!

Excellent question!you can use Angular’s onload emitter like this -<img src="..." (load)="someMethod()" />And inside someMethod() you can call printService.onDataReady(). Or combine it with your...

View Article


Image may be NSFW.
Clik here to view.

Haven’t tried it, but i assume it would be something like this -

Haven’t tried it, but i assume it would be something like this -@HostListener('window:keyup', ['$event'])keyEvent(event: KeyboardEvent) { if (event.ctrlKey && event.key === 'p') {...

View Article

Image may be NSFW.
Clik here to view.

A Webpack Setup that Makes Sense

TL;DRWebpack baffles the best of us. Whether you’re a n00b or a pro, you can find in this article a tested and maintainable setup for a frontend project using webpack 2. This is the very same setup we...

View Article

Image may be NSFW.
Clik here to view.

Using (and Enjoying) Bootstrap 4

Bootstrap 4 is finally out (beta version at least), but will it continue to justify its status as the most popular css framework in the world? Here at BigPanda we did a thorough study on the new...

View Article

Image may be NSFW.
Clik here to view.

Build a Web Based Development Environment for Angular with AWS Cloud9

I love my IDE. I love my mac. And I love (some of) my customers. But once in a while we must part, because you need a frigging vacation. So to make sure I’ll be walking around carrying a coconut and...

View Article


Image may be NSFW.
Clik here to view.

The Ultimate Print HTML Template with Header & Footer

create printable HTML pages using a reusable template with a header and a footer that repeat on every page. Check out the demo.While developing a CRM project, I came across the need to print out...

View Article

Image may be NSFW.
Clik here to view.

How to Print Documents with Angular

Use your Angular app to render printable documents such as letters or receipts on the client side.I recently implemented a new feature — enable users to print out formatted documents such as letters,...

View Article


Image may be NSFW.
Clik here to view.

Sharing Types Between Angular and Firebase Cloud Functions

My team is migrating our backend to Firebase. One of the challenges we faced in the process was finding an efficient method of sharing resources (such as types, classes, and utility functions) between...

View Article
Browsing all 16 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>