MishkaGervaz.Table.Dsl.States (MishkaGervaz v0.0.1-alpha.2)

Copy Markdown View Source

Empty and Error state entities DSL definition for table configuration.

Supports both inline and block syntax:

# Inline
empty_state message: "No sites found", icon: "hero-globe-alt"
error_state message: "Failed to load"

# Block
empty_state do
  message "No sites found"
  icon "hero-globe-alt"
end

Summary

Functions

Returns the empty_state entity definition.

Returns the error_state entity definition.

Functions

empty_state_entity()

Returns the empty_state entity definition.

error_state_entity()

Returns the error_state entity definition.