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

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

  • 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.