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.titlerequired)Sign Up! is the title
used for modal-cover.modal-bodyrequired)$openoptional, default: false)true shows modal-cover false hides it.show-formoptional, default: false)true which shows form input with button inside modal-cover. false
hides form input and button.placeholderoptional, default: Your email address here)cta-textrequired, default: Continue)Button title.cta-linkrequired)Button.footeroptional)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-modalrequired, default: false)button component to show and hide modal-cover.titlerequired)disable-linkrequired, default: false)