# remComponentElAttr

## Description

Removes a component element attribute.

## Input / Parameter

| Name        | Description                                    | Input Type  | Default | Options | Required |
| ----------- | ---------------------------------------------- | ----------- | ------- | ------- | -------- |
| component   | The name of the component.                     | String/Text | -       | -       | Yes      |
| componentId | The id of the component.                       | String/Text | -       | -       | Yes      |
| attr        | The component element attribute to be removed. | String/Text | -       | -       | Yes      |

## Output

N/A

Note: The component will be updated to show the element attribute removed.

## Callback

N/A

## Video

Coming Soon.

## Example

Coming Soon.

### Steps

1. Add a button to the page, and add the `remComponentElAttr` to the event flow.

   ![](https://399701567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwmJ1RKjM2uNFaL6fO3Xu%2Fuploads%2Fgit-blob-c218526203b55b80e0f9daa5366f760af41b98e5%2FremComponentElAttr-step-1.png?alt=media)
2. Specify the component and element attribute to remove.

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

### Result

Label991 will be shown, since the "hidden" attribute is removed.

## Links
