1HTMLDocument.anonymousBlock(3kKaayyaa)module refeHrTeMnLcDeocument.anonymousBlock(3kaya)
2
3
4
6 HTMLDocument::anonymousBlock - Make an anonymous block
7
9 ElementTree anonymousBlock( )
10
12 Make an anonymous division. This is useful for use with HTMLDocuâ
13 ment.appendExisting (3kaya) and HTMLDocument.prependExisting (3kaya)
14
15
16
17 ElementTree mkList([String] texts) {
18 div = anonymousBlock();
19 list = addList(div,Unordered,size(texts),texts);
20 return list;
21 }
22 // can now do appendExisting(parent,mkList(texts));
23
25 Kaya standard library by Edwin Brady, Chris Morris and others
26 (kaya@kayalang.org). For further information see http://kayalang.org/
27
29 The Kaya standard library is free software; you can redistribute it
30 and/or modify it under the terms of the GNU Lesser General Public
31 License (version 2.1 or any later version) as published by the Free
32 Software Foundation.
33
35 HTMLDocument.appendExisting (3kaya)
36 HTMLDocument.prependExisting (3kaya)
37
38
39
40Kaya December 201H0TMLDocument.anonymousBlock(3kaya)