1HTMLDocument.addTextarea(3kayaK)aya module referenHcTeMLDocument.addTextarea(3kaya)
2
3
4
6 HTMLDocument::addTextarea - Adds a textarea
7
9 ElementTree addTextarea( ElementTree parent, String name, String ini‐
10 tialtext=createString(0), Int rows=5, Int cols=40 )
11
13 parent The parent element
14
15 name The name of the textarea. Remember that names starting with
16 "kaya_" may be used by the Kaya standard library and should not be used
17 directly by applications.
18
19 initialtext The initial contents of the textarea, if any. Thisparameter
20 is optional, with the empty string as a default.
21
22 rows The number of rows the fieldset has. This parameter may be omitted
23 for a default of 5.
24
25 cols The number of columns the fieldset has. This parameter may be
26 omitted for a default of 40. Note that there is no browser-independent
27 relationship between the number of columns in a text area, and the size
28 of a normal text input, so getting them to be consistently the same
29 width is not possible.
30
32 Adds a textarea to a form. Remember that textareas may not be added
33 directly to the form - you need to add a block-level element such as
34 fieldset to the form, and then add the textareas to that. Text areas
35 are useful for entering large amounts of user input, or where the user
36 input needs to contain new lines.
37
39 Kaya standard library by Edwin Brady, Chris Morris and others
40 (kaya@kayalang.org). For further information see http://kayalang.org/
41
43 The Kaya standard library is free software; you can redistribute it
44 and/or modify it under the terms of the GNU Lesser General Public
45 License (version 2.1 or any later version) as published by the Free
46 Software Foundation.
47
49 HTMLDocument.addFieldset (3kaya)
50 HTMLDocument.addLabelledTextarea (3kaya)
51 HTMLDocument.addSelectElement (3kaya)
52 HTMLDocument.addTextInput (3kaya)
53
54
55
56Kaya December 2010 HTMLDocument.addTextarea(3kaya)