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

Show buttons and the buttons that toggle their visibility

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

Functions

build_show_button(params, field)

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

Returns HTML for the show column button

build_show_hide_fields_button(params)

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

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

show_buttons(params)

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

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