-
-
Notifications
You must be signed in to change notification settings - Fork 419
data export
Marcos Caceres edited this page Mar 28, 2026
·
16 revisions
Applies to: <dfn>
Marks a definition as exported — available for other specifications to cross-reference via xref. All WebIDL definitions are automatically exported; use this for prose concepts.
<p>The <dfn data-export>fetch</dfn> algorithm takes a request and returns a response.</p>The class="export" form also works:
<dfn class="export">request</dfn><dfn data-noexport>internal algorithm</dfn>- Exported terms are indexed by Webref and become available in the xref database within ~6 hours of publication
- Your spec must be listed in browser-specs to be indexed
- Only export terms that other specifications actually need — internal helper concepts should not be exported
- WebIDL interfaces, attributes, methods, etc. are automatically exported — you don't need
data-exportfor IDL - Use
data-noexportto explicitly prevent a definition from being exported (e.g. if it would shadow a same-named definition from another spec) ⚠️ Do not place exported<dfn>elements in<section id="abstract">or other unnumbered sections (SotD, introductory sections). Doing so causes a crash in the terms index (bug #5133). Define terms in a numbered section such as a "Terminology" or "Definitions" section instead.
💖 Support ReSpec by becoming a sponsor via Open Collective. 💖
✨ View rendered version of this documentation at https://respec.org/docs/ ✨
- Getting Started
- How Do I…
- Spec Editor's Guide
- Writing Algorithms
- WebIDL Guide
- Configuring ReSpec
- Developers Guide
- Shorthands
- addSectionLinks
- authors
- caniuse
- edDraftURI
- editors
- format (markdown)
- formerEditors
- github
- highlightVars
- isPreview
- license
- lint
- localBiblio
- logos
- maxTocLevel
- mdn
- modificationDate
- monetization
- noTOC
- otherLinks
- pluralize
- postProcess
- preProcess
- previousDiffURI
- previousMaturity
- previousPublishDate
- prevRecShortname
- prevRecURI
-
processVersion(Removed) - publishDate
- shortName
- specStatus
- subjectPrefix
- subtitle
- testSuiteURI
- xref
- additionalCopyrightHolders
-
addPatentNote(Removed) - alternateFormats
- canonicalURI
- charterDisclosureURI
- copyrightStart
- crEnd
- dark mode
- doJsonLd
- errata
- group
- implementationReportURI
- level
- noRecTrack
- prevED
- prEnd
- submissionCommentNumber
-
wg(Deprecated — usegroup) -
wgId(Deprecated — usegroup) -
wgPatentURI(Deprecated — usegroup) -
wgPublicList(Deprecated — usegroup) -
wgURI(Deprecated — usegroup)
a11ycheck-charsetcheck-internal-slotscheck-punctuationinformative-dfnlocal-refs-existno-captionless-tablesno-headingless-sectionsno-http-propsno-link-warningsno-unused-dfnsno-unused-varsprivsec-sectionwpt-tests-exist
Handled by ReSpec for you.
- conformance
- idl-index
- index
- issue-summary
- references
- tof (Table of Figures)
- data-abbr
- data-cite
- data-dfn-for
- data-dfn-type
- data-export
- data-format
- data-include
- data-include-format
- data-include-replace
- data-link-for
- data-link-type
- data-local-lt
- data-lt
- data-lt-no-plural
- data-lt-noDefault
- data-max-toc
- data-number
- data-oninclude
- data-sort
- data-tests
-
data-transform(Deprecated) - data-type
- dir
- lang