class js.html.DirectoryElement extends Element

Available on js

Obsolete

Documentation for this class was provided by MDN.

Instance Fields

var compact:Bool

This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn't work in all browsers.

Usage note: Do not use this attribute, as it has been deprecated: the <dir> element should be styled using CSS. To give a similar effect than the compact attribute, the CSS property line-height can be used with a value of 80%.