Skip to content

data include format

Marcos Cáceres edited this page Jun 28, 2016 · 7 revisions

Data is normally included as HTML (injected into the DOM as such). There are times when you want to include content as text. If so, set this attribute to text. That is the only supported value (you can also use html, but that's the default behavior).

Example

<section 
  data-include="some.txt"
  data-include-format="text">
</section> 

Guides

Configuration options

W3C Configuration options

Linter rules

Internal properties

Handled by ReSpec for you.

Special <section> IDs

HTML elements

Custom Elements

WebIDL

HTML attributes

CSS Classes

Special properties

Clone this wiki locally