class

Plombir::Template::AST::Component

Inherits Plombir::Template::AST::Node < Reference < Object

{% component "PostCard" post=post title="Hi" %}. name is the component's basename under components/; props bind in the component's isolated scope (nothing else is visible).

Constructors

new(name : String, props : Array(Prop), line : Int32, column : Int32)
Source

Instance methods

name
Source
props
Source