View Source Exzeitable.HTML.ShowButton (Exzeitable v0.6.0)

Show buttons and the buttons that toggle their visibility

Link to this section Summary

Functions

Returns HTML for the show column button

Button for showing and hiding the buttons that show/hide fields

Returns HTML for all the show column buttons that should be visible

Link to this section Functions

Link to this function

build_show_button(params, field)

View Source
@spec build_show_button(
  Exzeitable.Params.t(),
  {atom(), map()}
) :: {:safe, iolist()}

Returns HTML for the show column button

Link to this function

build_show_hide_fields_button(params)

View Source
@spec build_show_hide_fields_button(Exzeitable.Params.t()) :: {:safe, iolist()}

Button for showing and hiding the buttons that show/hide fields

@spec show_buttons(Exzeitable.Params.t()) :: [{:safe, iolist()}]

Returns HTML for all the show column buttons that should be visible