SurfaceBulma.Modal (surface_bulma v0.6.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

  • 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

  • default, required: true

Events

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

Summary

Functions

Link to this function

render(assigns)

Callback implementation for Surface.Component.render/1.