W3cubDocs

/Haxe JavaScript

PreElement

package js.html

extends ElementDOMElementNodeEventTarget

@:native("HTMLPreElement") Available on js

The HTMLPreElement interface expose specific properties and methods (beyond those defined by regular HTMLElement interface it also has available to it by inheritance) for manipulating block of preformatted text.

Documentation HTMLPreElement by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

width:Int

Is a long value reflecting the obsolete width attribute, containing a fixed-size length for the pre element.

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/PreElement.html