GtBridge.Phlow.Empty (gt_bridge v0.17.3)

Copy Markdown View Source

An empty Phlow view specification.

Used as a placeholder or to indicate no view should be shown.

Summary

Functions

Convert the empty view to a dictionary format for serialization to GT.

Set the priority of the view.

Set the title of the view.

Types

t()

@type t() :: %GtBridge.Phlow.Empty{view_priority: integer(), view_title: String.t()}

Functions

as_dict(self)

@spec as_dict(t()) :: map()

Convert the empty view to a dictionary format for serialization to GT.

priority(self, priority_value)

@spec priority(t(), integer()) :: t()

Set the priority of the view.

title(self, title_text)

@spec title(t(), String.t()) :: t()

Set the title of the view.