Discount Ninja
Search
K

Button

Attributes

action ("generate-code" | "apply-code" | "close")
  • generate-code: generates a unique promotion code and moves to step 2
  • apply-code: applies the code generated in step 1
  • close: closes the pop-up
template ("button" | "link")
  • button: renders the button as a pill shaped button
  • link: renders the button as a link
hide (boolean)
  • false [default]: visible
  • true: hidden
Last modified 8mo ago