1HTMLDocument.addListItem(3kayaK)aya module referenHcTeMLDocument.addListItem(3kaya)
2
3
4

NAME

6       HTMLDocument::addListItem - Add a list item
7

SYNOPSIS

9       ElementTree  addListItem(  ElementTree list, Int index, String initialā€
10       contents=createString(0) )
11

ARGUMENTS

13       list The list to add to
14
15       index The index to insert at (starting at zero)
16
17       initialcontents Optionally, the initial contents of the list item
18

DESCRIPTION

20       Add a list item to a list at the specified index. If the list given  is
21       not  actually  a list, an HTMLDocument.InvalidNesting (3kaya) Exception
22       is thrown.
23
24
25    if (extradetails) {
26        addListItem(instructions,5,"Check that all leads are attached.");
27        addListItem(instructions,12,"Check that the batteries are charged.");
28    }
29

AUTHORS

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

LICENSE

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.getListItem (3kaya)
43       HTMLDocument.pushListItem (3kaya)
44
45
46
47Kaya                             December 2010 HTMLDocument.addListItem(3kaya)
Impressum