Rushi Javiya has Published 170 Articles

How to use Paper Component in ReactJS?

Rushi Javiya

Rushi Javiya

Updated on 07-Mar-2023 11:57:52

1K+ Views

In Material UI, the Paper component is very similar to the card component, and basically, it also creates a card of the required dimensions. The main difference between the Card and Paper components is the ‘Elevation’ prop. The Elevation props allow setting the box shadow for the Paper component to ... Read More

How to use Link Component in ReactJS?

Rushi Javiya

Rushi Javiya

Updated on 07-Mar-2023 11:54:14

575 Views

The links are important for any application to navigate different web pages. We can use the tag to create links in the HTML. However, the Material UI library provides the Link component to create a stylish link. Users can execute the below command to install the Material UI ... Read More

How to use input readonly attribute in jQuery?

Rushi Javiya

Rushi Javiya

Updated on 07-Mar-2023 11:45:12

12K+ Views

The readonly is an HTML attribute that we can add to any HTML tag. Whenever we use the readonly attribute with any HTML element, it becomes non-editable. Users can’t write into the text field but can only read. In this tutorial, we will learn to add the readonly attribute to ... Read More

How to use Grid Component in Material UI?

Rushi Javiya

Rushi Javiya

Updated on 07-Mar-2023 11:41:14

739 Views

The grid means the structure of rows and columns like a table. When we create a table using the HTML tag, we can create every row and column of different dimensions, but the Grid component of the Material Ui library allows us to do so. We can use ... Read More

How to use Fab Component in Material UI?

Rushi Javiya

Rushi Javiya

Updated on 07-Mar-2023 11:34:32

646 Views

The fab component is a short form of the floating action button. You may have seen the floating action button in many Android applications at the bottom right corner. However, it's not fixed that you need to add the floating action button at the bottom right corner, but it is ... Read More

How to trigger the setInterval loop immediately using JavaScript?

Rushi Javiya

Rushi Javiya

Updated on 07-Mar-2023 11:16:20

3K+ Views

The setInteral() method allows us to continuously trigger a callback function after every particular time period. We can pass the callback function as the first parameter to trigger after every time period, and the time period in the milliseconds as a second parameter. The setInterval() method invokes the callback function ... Read More

How to trigger the onchange event on input type=range while dragging in Firefox?

Rushi Javiya

Rushi Javiya

Updated on 07-Mar-2023 11:14:21

7K+ Views

The range input allows a selection of any value between the particular range of values. Using JavaScript, we can get the input value that users have entered in the range input. The onchage event triggers only when the user releases the mouse key. So, it will not update the value ... Read More

How to trigger the HTML button after hitting enter button in the textbox using JavaScript?

Rushi Javiya

Rushi Javiya

Updated on 07-Mar-2023 11:11:05

4K+ Views

Generally, developers add the submit button to submit the input field's text. However, if they allow users to submit the input value by pressing enter, it improves the UX of the application. Here, we will learn the general way to detect the key press using the key listener event. Afterwards, ... Read More

How to splice an array without mutating the original Array?

Rushi Javiya

Rushi Javiya

Updated on 07-Mar-2023 11:05:02

4K+ Views

In JavaScript, we can use the splice() method to splice an array. The splice() method inserts or deletes single or multiple elements from the array. We can pass the starting index as the first parameter of the splice() method, from which we can insert or delete the elements. It takes ... Read More

How to Create Horizontal and Vertical Tabs using JavaScript?

Rushi Javiya

Rushi Javiya

Updated on 07-Mar-2023 11:01:08

833 Views

We can create tabs using HTML, CSS & JavaScript. There can be two types of tabs. One is horizontal tabs, and another is vertical tabs. The tabs allow us to show different contents in very less space as we can show the different content according to the different tabs. We ... Read More

Advertisements