threepenny-gui-0.8.3.0: GUI framework that uses the web browser as a display.

Safe HaskellNone
LanguageHaskell98

Graphics.UI.Threepenny.Elements

Contents

Description

Predefined DOM elements, for convenience.

Synopsis

Combinations and utilities

addStyleSheet :: Window -> FilePath -> UI () Source #

Add a stylesheet to the head.

The second argument refers to the filename of the stylesheet, but not its complete filepath. Threepenny will prefix the css subdirectory of the tpStatic configuration field to construct the complete filepath.

new :: UI Element Source #

Make a new div element, synonym for div.

Primitive HTML elements