Skip to content

Commit f91fe8c

Browse files
committed
info 'bout which elems use which mode
1 parent 443e266 commit f91fe8c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -176,4 +176,13 @@ Tip: use [jsonlint.com](http://jslint.com/) to make sure JSON is valid.
176176
prefix: "src", // the prefix for your custom data attributes
177177
breakpoints: [1281,1025,961,641,481,320,0] // array of (min) breakpoints
178178
}])
179-
```
179+
```
180+
181+
Since version 0.3.0:
182+
183+
img|input|source|embed|track elements always behave in src mode.
184+
185+
iframe|audio|video elements behave in src mode only when the src attribute is present. Otherwise they
186+
use markup mode.
187+
188+
All other elements behave in markup mode.

0 commit comments

Comments
 (0)