New template
HEEx
<div class="flex h-64 w-xs *:flex-1">
<ConnieUI.Cards.action_card caption="New template" click={JS.push("new_template")} />
</div>
Controls
Set by the example
click gates
Docs
No @doc for this component.
| Attribute | Type | Default | Description |
|---|---|---|---|
| No data found. | |||
| click * | {:struct, Phoenix.LiveView.JS} |
|
|
| caption * | :string |
|
|
| gates | :list | [] |
List of gates to check, e.g. [{:permission, :edit}, {:feature, :enable_x}, {:limit, :templates}]
|