View Source Exzeitable.Text behaviour (Exzeitable v0.6.8)

Defines the behaviour for, and access to, text for the exzeitable interface.

Default text is in Exzeitable.Text.Default

Summary

Functions

Call the text function with assigns

Call the text function with assigns and an extra parameter

Callbacks

actions(map)

@callback actions(map()) :: String.t()

confirm_action(map)

@callback confirm_action(map()) :: String.t()

delete(map)

@callback delete(map()) :: String.t()

edit(map)

@callback edit(map()) :: String.t()

hide(map)

@callback hide(map()) :: String.t()

hide_field_buttons(map)

@callback hide_field_buttons(map()) :: String.t()

new(map)

@callback new(map()) :: String.t()

next(map)

@callback next(map()) :: String.t()

nothing_found(map)

@callback nothing_found(map()) :: String.t()

previous(map)

@callback previous(map()) :: String.t()

search(map)

@callback search(map()) :: String.t()

show(map)

@callback show(map()) :: String.t()

show_field(map, t)

@callback show_field(map(), String.t()) :: String.t()

show_field_buttons(map)

@callback show_field_buttons(map()) :: String.t()

sort(map)

@callback sort(map()) :: String.t()

Functions

text(params, function)

@spec text(Exzeitable.Params.t(), atom()) :: String.t()

Call the text function with assigns

text(params, function, parameter)

@spec text(Exzeitable.Params.t(), atom(), String.t()) :: String.t()

Call the text function with assigns and an extra parameter