bling
dependency into your FASTN.ftd-- fastn.dependency: fastn-community.github.io/bling
.ftd
file-- import: fastn-community.github.io/bling/modal-cover
-- boolean $show-modal: false
.ftd
file-- modal-cover.button: Click to open Modal Cover
$on-click$: $ftd.toggle($a = $show-modal)
disable-link: true
-- modal-cover.modal-cover: Sign Up!
$open: $show-modal
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!
modal-cover
component.title
required
)Sign Up!
is the title
used for modal-cover
.modal-body
required
)$open
optional
, default: false
)true
shows modal-cover
false
hides it.show-form
optional
, default: false
)true
which shows form input with button inside modal-cover. false
hides form input and button.placeholder
optional
, default: Your email address here
)cta-text
required
, default: Continue
)Button
title.cta-link
required
)Button
.footer
optional
)footer
property you can add additional info to modal-cover
which acts
like footer.Below are details of all properties of modal-cover.button
component.
$on-click$: $ftd.toggle($a = $show-modal)
$ftd.toggle
is a in-built fastn
function. which requires a boolean
$show-modal
to show or hide modal-cover.$show-modal
required
, default: false
)button
component to show and hide modal-cover.title
required
)disable-link
required
, default: false
)