struct

Application::HTML

Inherits Helpers::Routes < Frost::HTML < Frost::DOM < Frost::View < Struct < Value < Object

Instance methods

asset_path(path : String) : String

Returns the absolute path to a static asset.

TODO: if a manifest exists, use it to map path/file.ext to /assets/path/file-digest.ext TODO: memoize the manifest (unless development?)

Source
badge(contents : String, type : BadgeType, **attrs) : Nil
Source
badge(type : BadgeType, **attrs, &) : Nil
Source

Nested types