Slapdash Platform
GitHub
  • Ahoy, world!
  • Command Bar 101
    • How it Works
    • Core Terminology
    • Commands
    • Local Commands
    • Cloud Commands
    • Build Your First Command
    • Publish Command
    • Hooks
  • Command Tutorials
    • Toggle Dark Mode
    • Emoji Paster
    • Copy Special Character
    • Send Slack Message
  • Reference
    • Command Response
    • Action
    • View
    • List View
    • Masonry View
    • Form View
    • Tokens
    • Icon
    • Config
Powered by GitBook
On this page
  1. Reference

View

PreviousActionNextList View

Last updated 3 years ago

Views define, what's shown to the user when the command is executed. The view can be provided at the root of the using the CommandReponse.view property.

The simplest view one can use is text. Simply set the view property to some text and it will be shown in the Command Bar.

{
  "view": "Ahoy, world!"
}

Read on about other views that can be used in the Command Response: , and .

Command Response
Masonry
Form
List