Package-level declarations
Types
Link copied to clipboard
Defines the notion of a *Render Context* for server-side pages in Gust. This protocol message is filled out with data
as configured by the developer (from `application.yml` and the active controller, as applicable) and provided as an
injected value to all server-side render operations.
When preparing context in Gust, adding a static script or stylesheet is done through `Context`. Setting page metadata
like the title, keywords, and manifest - also all done through `Context`. This of course has the added benefit of
being completely serializable, repeatable, and so on (i.e. all the benefits Protobuf brings).
Major context modules include:
- *Metadata*: Page-level metadata.
- *OpenGraph*: Properties for OG tags.
- *Twitter*: Properties for Twitter cards.
- *AppManifest*: Information to link or derive a web application manifest.
- *Styles*: Stylesheets and inline head-injected styles ("lifted styles").
- *Scripts*: Scripts to include, and inline head-injected logic ("lifted JS").
Content copied to clipboard
elide.page.Context
Link copied to clipboard
Link copied to clipboard
Defines the structure of attached content media, which is intended for emission in a given web page
via some sort of render process, depending on the context in which this media is used.
Content copied to clipboard
elide.page.MediaAsset
Link copied to clipboard
object MediaAssetKt
Protobuf type elide.page.MediaAsset
Link copied to clipboard
Link copied to clipboard
Defines the structure of top-level metadata with regard to semantic content, attached to a given
web page for emission in meta tags in various formats.
Content copied to clipboard
elide.page.SemanticMetadata
Link copied to clipboard
object SemanticMetadataKt
Protobuf type elide.page.SemanticMetadata
Link copied to clipboard
Link copied to clipboard
Enumerates known or supported video asset providers.
Content copied to clipboard
elide.page.VideoProvider
Link copied to clipboard
Describes resolutions at which video assets may be made available.
Content copied to clipboard
elide.page.VideoResolution
Link copied to clipboard
class WebContext
Link copied to clipboard
class WebSemantics
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
inline fun Context.AppManifest.copy(block: ContextKt.AppManifestKt.Dsl.() -> Unit): Context.AppManifest
inline fun Context.AppManifest.Icon.copy(block: ContextKt.AppManifestKt.IconKt.Dsl.() -> Unit): Context.AppManifest.Icon
inline fun Context.AppManifest.RelatedApplication.copy(block: ContextKt.AppManifestKt.RelatedApplicationKt.Dsl.() -> Unit): Context.AppManifest.RelatedApplication
inline fun Context.ClientHints.copy(block: ContextKt.ClientHintsKt.Dsl.() -> Unit): Context.ClientHints
inline fun Context.DynamicETag.copy(block: ContextKt.DynamicETagKt.Dsl.() -> Unit): Context.DynamicETag
inline fun Context.Fonts.FontPackage.copy(block: ContextKt.FontsKt.FontPackageKt.Dsl.() -> Unit): Context.Fonts.FontPackage
inline fun Context.Fonts.FontReference.copy(block: ContextKt.FontsKt.FontReferenceKt.Dsl.() -> Unit): Context.Fonts.FontReference
inline fun Context.Metadata.OpenGraph.copy(block: ContextKt.MetadataKt.OpenGraphKt.Dsl.() -> Unit): Context.Metadata.OpenGraph
inline fun Context.Metadata.OpenGraph.OpenGraphImage.copy(block: ContextKt.MetadataKt.OpenGraphKt.OpenGraphImageKt.Dsl.() -> Unit): Context.Metadata.OpenGraph.OpenGraphImage
inline fun Context.Metadata.OpenGraph.OpenGraphVideo.copy(block: ContextKt.MetadataKt.OpenGraphKt.OpenGraphVideoKt.Dsl.() -> Unit): Context.Metadata.OpenGraph.OpenGraphVideo
inline fun Context.Metadata.Twitter.copy(block: ContextKt.MetadataKt.TwitterKt.Dsl.() -> Unit): Context.Metadata.Twitter
inline fun Context.ResponseHeader.copy(block: ContextKt.ResponseHeaderKt.Dsl.() -> Unit): Context.ResponseHeader
inline fun Context.Scripts.JavaScript.copy(block: ContextKt.ScriptsKt.JavaScriptKt.Dsl.() -> Unit): Context.Scripts.JavaScript
inline fun Context.Styles.Stylesheet.copy(block: ContextKt.StylesKt.StylesheetKt.Dsl.() -> Unit): Context.Styles.Stylesheet
inline fun MediaAsset.Document.copy(block: MediaAssetKt.DocumentKt.Dsl.() -> Unit): MediaAsset.Document
inline fun MediaAsset.Image.ImageAsset.copy(block: MediaAssetKt.ImageKt.ImageAssetKt.Dsl.() -> Unit): MediaAsset.Image.ImageAsset
inline fun MediaAsset.Video.VideoAsset.copy(block: MediaAssetKt.VideoKt.VideoAssetKt.Dsl.() -> Unit): MediaAsset.Video.VideoAsset
Link copied to clipboard
Link copied to clipboard