joliclic

home

kh-expander

« Index [ Examples | Attributes | Properties ]

This a slightly modified version of xul:expander (not documented on MDC, but defined in expander.xml in the toolkit).
This element displays its content in a container that can be collapsed with a little button. A label can be set as title.

Attributes
label, open, disabled
Properties
open

Examples

example screenshot
<kh-expander label="a expander label" open="true">
    <description>Some text content</description>
</kh-expander>

live examples:


Attributes

label

type: string

open

type: boolean

The state of the element, if open="false", the content is collapsed

disabled

type: boolean

Disable the button to expand the content, and the content.

Properties

open

type: boolean

Get and set the open attribute.

Khromaxul - version: 0.3alpha - 2009-07-30