Skip to content

Placeholder API

val registry = DaisyPlaceholderRegistry()
registry.register("coins") { _, context -> "150" }
  • keys are registered case-insensitively
  • the same registry can be shared across commands, menus, sidebars, and tablists
  • placeholder resolution works against DaisyAudienceContext