Przeglądaj źródła

newElement in class doc

Herbert Vojčík 8 lat temu
rodzic
commit
3ea7150bde
2 zmienionych plików z 1 dodań i 0 usunięć
  1. 0 0
      src/DOMite.js
  2. 1 0
      src/DOMite.st

Plik diff jest za duży
+ 0 - 0
src/DOMite.js


+ 1 - 0
src/DOMite.st

@@ -17,6 +17,7 @@ Creation API:
  - `Domite new` creates an insertion point at the bottom of `<body>`.
  - `Domite newStream` is unique way to create pieces of content. It creates an instance "floating in thin air" (wrapper around DOM DocumentFragment) that can be filled with any contents and then inserted in a page.
  - `Domite fromElement: aDomElement` wraps an element and set the cursor to its end.
+ - `Domite newElement: 'div'` creates new `<div />` element (and returns it wrapped as a Domite).
 
 CSS selector API:
 

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików