1HTMLDocument.addList(3kaya)  Kaya module reference HTMLDocument.addList(3kaya)
2
3
4

NAME

6       HTMLDocument::addList - Add a list
7

SYNOPSIS

9       ElementTree  addList(  ElementTree parent, ListType ltype, Int initialā€
10       size, [String] initialcontents=createArray(1) )
11

ARGUMENTS

13       parent The parent element
14
15       ltype Is the list Unordered or Ordered
16
17       initialsize The initial number of list elements to have
18
19       initialcontents Optionally, the initial text content for some or all of
20       the list elements. If this list is shorter than initialsize , then only
21       the first list items will be populated. If it is longer, then the extra
22       list items will be ignored.
23

DESCRIPTION

25       Add  a list to the parent element. Lists may only directly contain list
26       items.
27
28
29    steps = ["Catch flamingo","Place flamingo in pan","Boil for 3 hours"];
30    list = addList(parent,Ordered,3,steps);
31

AUTHORS

33       Kaya  standard  library  by  Edwin  Brady,  Chris  Morris  and   others
34       (kaya@kayalang.org). For further information see http://kayalang.org/
35

LICENSE

37       The  Kaya  standard  library  is free software; you can redistribute it
38       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
39       License  (version  2.1  or  any later version) as published by the Free
40       Software Foundation.
41
43       HTMLDocument.ListType (3kaya)
44       HTMLDocument.addListItem (3kaya)
45       HTMLDocument.getListItem (3kaya)
46       HTMLDocument.pushListItem (3kaya)
47
48
49
50Kaya                             December 2010     HTMLDocument.addList(3kaya)
Impressum