# hideElement

## Description

Hides a component on the screen.

## Input / Parameter

| Name        | Description                | Input Type  | Default | Options | Required                           |
| ----------- | -------------------------- | ----------- | ------- | ------- | ---------------------------------- |
| component   | The name of the component. | String/Text | -       | -       | Partial (Yes if no 'componentId'.) |
| componentId | The id of the component.   | String/Text | -       | -       | Partial (Yes if no 'component'.)   |

**\* Note:** Either component or componentId must have value in order for this function to work.

## Output

N/A

Note: The component will be updated to be hidden on the screen.

## Callback

N/A

## Video

Coming Soon.

## Example

The user want to hide component from the screen.

### Step

1. Call the function

   ![](https://399701567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwmJ1RKjM2uNFaL6fO3Xu%2Fuploads%2Fgit-blob-2d5e1eacd6d721ca222ac25662240ddaef536164%2FhideElement-step-1.png?alt=media)

   ![](https://399701567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwmJ1RKjM2uNFaL6fO3Xu%2Fuploads%2Fgit-blob-028b7514e3332ea171818307b5748089504ada98%2FhideElement-step-2.png?alt=media)

### Result

A component will be invisible in the mobile screen.

## Links
