---
title: "FragmentDirective | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Interface FragmentDirective

The **`FragmentDirective`** interface is an object exposed to allow code to check whether or not a browser supports text fragments.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/FragmentDirective)
