{

Welcome to my blog !


Angular Input numeric validation | Typescript

May 11, 2022 ·  5 min read

numeric in the form is the basic level of validation in the Angular application. Input form type=text/number only allows numeric fields and other alphabets and special characters are not allowed. In Html numbers are entered via input form with input type=text in HTML4 or less, type=number in HTML5 language In this Angular tutorial, I am going to explain input type numeric validation in different ways. Angular offers multiple ways to handle numeric form validation....

Angular 12 nullish coalescing operator

May 11, 2022 ·  2 min read

nullish coalescing operator is a logical operator introduced in the latest javascript i.e EcmaScript 2020. This post covers what is nullish coalescing operator in javascript/typescript and how it is used in Angular 13 components. nullish coalescing operator is a logical operator used to check value is null or undefined on two values. nullish abbreviated as null and undefined values of a parameter coalescing is of combining two values Here is a syntax...

5 ways to use Input blur event in Angular| Angular blur event tutorials

May 11, 2022 ·  4 min read

In this tutorial, We will learn how to use input onBlur event in Angular First, what is the onBlur event? where is this being used in Angular? onBlur is a javascript event, fired when the input element lost its focus. You can see my previous about Angular button click event example Other versions available: React onBlur event guide example Vue js Blur event example It is helpful while doing form validations....

How to check if an element exists in Array or not in Ruby with examples

May 10, 2022 ·  2 min read

The array contains a collection of elements, Sometimes we want to check if a given element exists in an array, resulting in a boolean values checks against conditional statements such as if-else. How to check if an element exists in Array or not in Ruby with examples There are multiple ways we can check key element exists in an array. use the include? method include? method checks element exists in an array, return true or false....

Length of a String in swift with example

May 9, 2022 ·  2 min read

The string contains a group of characters. Characters can be normal alphabets or Unicode characters. The length of a string is a count of the number of characters in a string. For example, If a string is “abc”, Then the length of a string is 3. Length of a String in Swift There are two types of a string. One is a String of normal alphabets without Unicode and emoji characters The second type of a string contains Unicode characters....

Subscribe
You'll get a notification every time a post gets published here.