SurfaceBulma.Modal (surface_bulma v0.5.0)

The non-card modal, with various configuration options. The modal is a stateless component and as such requires outside handling of whether or not the modal should be shown.

This component is currently not usable with javascript control of if component should be shown or not.

properties

Properties

  • show :boolean, default: false - If modal should be shown or not, defaults to false
  • show_close_button :boolean, default: true - If modal should show close button at top right of darkened background

slots

Slots

  • default, required: true

events

Events

  • close_button_event - The event the modal emits if you click the close button, silently ignored if show close button is not set

Link to this section Summary

Link to this section Functions

Link to this function

render(assigns)

Callback implementation for Surface.Component.render/1.