1HTMLDocument.setClass(3kaya) Kaya module referenceHTMLDocument.setClass(3kaya)
2
3
4

NAME

6       HTMLDocument::setClass - Set the CSS class
7

SYNOPSIS

9       Void setClass( ElementTree element, String classname )
10

ARGUMENTS

12       element The HTML element
13
14       classname The CSS class to set
15

DESCRIPTION

17       Set the CSS class(es) of a HTML element. Multiple classes can be speci‐
18       fied by separating them with a space. If a class is  given  which  does
19       not   match  the  allowed  characters  for  class  names,  a  HTMLDocu‐
20       ment.RequiresAttribute (3kaya) Exception will be thrown.
21
22
23    setClass(paragraph,"important");
24    setClass(link,"external recommended");
25

AUTHORS

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

LICENSE

31       The  Kaya  standard  library  is free software; you can redistribute it
32       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
33       License  (version  2.1  or  any later version) as published by the Free
34       Software Foundation.
35
37       HTMLDocument.setAttribute (3kaya)
38       HTMLDocument.setID (3kaya)
39       HTMLDocument.setTitle (3kaya)
40
41
42
43Kaya                             December 2010    HTMLDocument.setClass(3kaya)
Impressum