# Methods

## open()

Opens the Frontnow Advisor widget.

**Example usage:**

```javascript
advisor.open();
```

## close()

Closes the Frontnow Advisor widget.

**Example usage:**

```javascript
advisor.close();
```

## hideLauncher()

Hides the Frontnow Advisor launcher icon.

**Example usage:**

```javascript
advisor.hideLauncher();
```

## showLauncher()

Shows the Frontnow Advisor launcher icon.

**Example usage:**

```javascript
advisor.showLauncher();
```

## goto(*path*)

Changes the page of the Frontnow Advisor to a cached page.

**Example usage:**

```javascript
advisor.goto("path/to/page");
```

## prompt(*prompt*)

Fills the input field of the Frontnow Advisor with the provided question and requests the answer. This question will be run dynamically, so it will take longer than providing the cached path to a page with the [`goto`](#goto-path) method.

**Example usage:**

```javascript
advisor.prompt("This question will be answered dynamically?");
```

## destroy()

Removes all instances and elements of the Frontnow Advisor on the website.

**Example usage:**

```javascript
advisor.destroy()
```

These Actions provide developers with fine-grained control over the functionality and appearance of Frontnow Advisor. By using these Actions, you can create a custom experience for your website visitors that is tailored to your specific needs and requirements.
