-- fastn.dependency: fifthtry.github.io/button
button inside your .ftd file-- import: fifthtry.github.io/button
button.button inside your .ftd filesbutton component.titlerequired)button component.rolerequired)button component. Use role as primary secondary
or tertiary as per your need.largerequired)large button then add this property value as true. Use
extra-large, medium or small and add its value as true as per your
need.linkoptional)It's used to add link to button component. If you are not using link property
then, you can add $on-click$ event incase you want to add on-click
function.
-- boolean $toggle-event: false
-- button.button: Show modal
role: primary
large: true
$on-click$: $ftd.toggle($a = $toggle-event)
-- modal-cover.modal-cover: Sign Up!
$open: $toggle-event
show-form: true
placeholder: Your email address here
cta-text: Continue
footer: What is it? [Terms and conditions](modal-cover/)
25% Off On Your First Purchase* Enter code WELCOME at checkout
Discover new apps, things to do & more great news added daily!
