# Device-Based Element Visibility

### Recommended Setup:

This action can be configured on page load to ensure device-specific visibility rules from the start or triggered by specific events based on user requirements.

<figure><img src="/files/xgH3mNAAKYYVtrns9EOd" alt=""><figcaption></figcaption></figure>

### Steps:

1. In the Workflow tab, select Page Load or a relevant event based on your needs.
2. Add the Device-Based Element Visibility action.
3. Configure the following properties:
   * Target Device: Specify whether to target `android`,\
     `ios`, or `both` platforms.
   * Elements IDs: Enter a comma-separated list of the element IDs you want to control.
   * Visibility: Choose `show` to display or `hide` to make the elements invisible on the specified devices.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.webtonative.com/website-plugins/bubble.io/device-based-element-visibility.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
