View Source Surface.Components.Raw (surface v0.9.3)

A macro component that does not translate any of its contents.

The content will be passed untouched to the underlying Phoenix's template engine.

Note: By skipping translation, all Surface specific features are automatically disabled, including code interpolation with {...}, syntactic sugar for attributes and markup validation.

slots

Slots

  • default - The content that will not be translated by Surface

Link to this section Summary

Link to this section Functions

Link to this function

expand(attributes, content, meta)

View Source

Callback implementation for Surface.MacroComponent.expand/3.