瀏覽代碼

newElement in class doc

Herbert Vojčík 8 年之前
父節點
當前提交
3ea7150bde
共有 2 個文件被更改,包括 1 次插入0 次删除
  1. 0 0
      src/DOMite.js
  2. 1 0
      src/DOMite.st

文件差異過大導致無法顯示
+ 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:
 

部分文件因文件數量過多而無法顯示