1HTMLDocument.pushListItem(3kayKaa)ya module refereHnTcMeLDocument.pushListItem(3kaya)
2
3
4
6 HTMLDocument::pushListItem - Append a list item
7
9 ElementTree pushListItem( ElementTree list, String initialcontents=cre‐
10 ateString(0) )
11
13 list The list to append to
14
15 initialcontents Optionally, the initial contents of the list item
16
18 Append a list item to a list. If the list given is not actually a list,
19 an HTMLDocument.InvalidNesting (3kaya) Exception is thrown. This is
20 sometimes a more convenient way to build up lists than using an initial
21 content array on addList , especially if the final size of the list is
22 variable.
23
24
25 list = addList(parent,Ordered,0);
26 while (text = getNextText(source)) {
27 pushListItem(list,text);
28 }
29
31 Kaya standard library by Edwin Brady, Chris Morris and others
32 (kaya@kayalang.org). For further information see http://kayalang.org/
33
35 The Kaya standard library is free software; you can redistribute it
36 and/or modify it under the terms of the GNU Lesser General Public
37 License (version 2.1 or any later version) as published by the Free
38 Software Foundation.
39
41 HTMLDocument.addList (3kaya)
42 HTMLDocument.addListItem (3kaya)
43 HTMLDocument.getListItem (3kaya)
44
45
46
47Kaya December 2010HTMLDocument.pushListItem(3kaya)