Skip to content

Commit 8d8c714

Browse files
committed
add note for container array type
1 parent 7c1fcdb commit 8d8c714

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ config includes following options:
1818
- could be css selector, element, or array of css selectors/elements.
1919
- ldloader will create one automatically if omitted, and append it under container.
2020
- if root is an array, ldloader instance will work on every element in the array.
21-
* container: where root should be put in. default null.
21+
* container: where root should be put in.
2222
- will be root.parentNode if omitted.
2323
- will be document.body if both root and container is omitted.
24+
- note: container is also an array since root by design accept array of value.
2425
* class-name: additional class over root. default '' and is optional.
2526
- you can also add classes directly onto the root element you provided.
2627
* active-class: class added to root when loader is toggled on. default 'running'.

0 commit comments

Comments
 (0)