Namespace: html

html

Module ID: shellfish/html

This module provides the HTML-oriented Shellfish API.

Examples

Importing in JavaScript

shRequire("shellfish/html", html =>
{
    const myLabel = new html.Label();
    myLabel.color = myLabel.rgb(0, 0, 1);
    myLabel.text = "Some text goes here";
});

Instantiating and parameterizing a class in Shui code

require "shellfish/html";

Label {
    color: rgb(0, 0, 1)
    text: "Some text goes here"
}

Classes

Animation
Box
CameraView
Canvas
Capabilities
Console
DavFS
Document
Draggable
DropArea
FileSelector
FpsMeter
FrameTimer
Gamepad
GamepadModel
GradientStop
History
Html
Image
Item
Label
LinearGradient
ListView
LocalStorage
MouseBox
NumberAnimation
Object
OfflineFS
ParallelAnimation
Ruler
SequentialAnimation
SyntaxHighlighter
SyntaxToken
TextArea
TextInput
TileMap
TileSet
Video
WebSocket