Balaji Sankar
Some of my latest work
How to create a NPM package 💭
What is npm? NPM(Node Package Manager) makes it easy for JavaScript developers to share the code that they’ve created to solve particular problems, and for other developers to reuse that code in their own applications.Installing npm Initially check does node is installed in your computer,
generate-confetti
Confetti is the small object or streamers of colored objects that are scattered around the website.
ellipses
Ellipses add a string in the word boundary. Generally, ellipsis was added at the end of the words in the element instead it can be added at the start of the element
Prevent image download in websites
In this article we are going to see how to detect image download and a simplest way to prevent image download. Whenever a content uploaded in web it can be viewed by all.All can copy the contents and use it.It may be helpful in some scenario.But consider profile picture in social networking site,there is no need for downloading images. But now it can be downloaded easy. Lets see how an images are displayed so far and which can be used to hide image URL.
Resize event issue in mobile phones
In this article, we discuss the resize issue in mobile devices. The resize event is fired when the document view has been resized.But in the case of mobile devices whenever the scroll action is performed resize function will be triggered.
The Simplest Way to Share Messages on Social Network from Web App
In this modern era, we are in need of sharing a link to our friend in social networking for inviting our friends to use the particular app or site. In this article, we are going to understand what are ways and how a link or message can be shared with your friends from web app in social networks. Here a question arises why and where I need to share a link from the web app. For example, Consider a scenario when a user has Medium article and he needs to share the article with his friends what we do generally just copy the URL of that post and share with our friends.But If you want to share with a friend on WhatsApp we open WhatsApp application and then share….Instead of this huge flow, we can just use share button which allows sharing the link in social networks.