---
title: presentModal
framework: tvmljs
role: symbol
role_heading: Instance Method
path: tvmljs/navigationdocument/1627311-presentmodal
---

# presentModal

Displays the passed document on top of the current document.

## Declaration

```data
void presentModal(
    in Document document
);
```

## Parameters

- `document`: A DOM document created by parsing a TVML file.

## Discussion

Discussion The passed document is presented on top of the current document. The current document is blurred and is used as the background for the modal document.

## See Also

### Overlaying Document

- [dismissModal](tvmljs/navigationdocument/1627446-dismissmodal.md)
