Pārlūkot izejas kodu

newElement in class doc

Herbert Vojčík 8 gadi atpakaļ
vecāks
revīzija
3ea7150bde
2 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 0 0
      src/DOMite.js
  2. 1 0
      src/DOMite.st

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 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:
 

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels