Rechercher une page de manuel
HTMLDocument.addList.3kaya
Langue: en
Version: March 2009 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
HTMLDocument::addList - Add a listSYNOPSIS
ElementTree addList( ElementTree parent, ListType ltype, Int initialsize, [String] initialcontents=createArray(1) )ARGUMENTS
parent The parent element
ltype Is the list Unordered or Ordered
initialsize The initial number of list elements to have
initialcontents Optionally, the initial text content for some or all of the list elements. If this list is shorter than initialsize , then only the first list items will be populated. If it is longer, then the extra list items will be ignored.
DESCRIPTION
Add a list to the parent element. Lists may only directly contain list items.
steps = ["Catch flamingo","Place flamingo in pan","Boil for 3 hours"];
list = addList(parent,Ordered,3,steps);
AUTHORS
Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/LICENSE
The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.RELATED
HTMLDocument.ListType(3kaya)
HTMLDocument.addListItem(3kaya)
HTMLDocument.getListItem(3kaya)
HTMLDocument.pushListItem(3kaya)
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre