Jelajahi Sumber

newElement in class doc

Herbert Vojčík 8 tahun lalu
induk
melakukan
3ea7150bde
2 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 0 0
      src/DOMite.js
  2. 1 0
      src/DOMite.st

File diff ditekan karena terlalu besar
+ 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:
 

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini