浏览代码

newElement in class doc

Herbert Vojčík 9 年之前
父节点
当前提交
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:
 

部分文件因为文件数量过多而无法显示