Skip to content

Instantly share code, notes, and snippets.

@alump
Created February 14, 2018 23:30
Show Gist options
  • Save alump/2d1d4d427f0f20f8ea9b772d415962fb to your computer and use it in GitHub Desktop.
Save alump/2d1d4d427f0f20f8ea9b772d415962fb to your computer and use it in GitHub Desktop.
<px-modal
header-text="Confirm delete"
body-text="Do you want to delete this record? The record will be deleted permanently."
accept-text="Permanently Delete Record"
reject-text="Cancel"
open-trigger="[[trigger]]">
<div slot="body">
<px-slider
value="10"
end-value="90"
min="0"
max="100"
step="1"
is-range
scale="linear"
base="10"
exponent="2"
min-label-position="bottom"
max-label-position="bottom">
</px-slider>
</div>
</px-modal>
<px-modal-trigger
trigger='{{trigger}}'>
<button
class='btn btn--tertiary'>Open Modal
</button>
</px-modal-trigger>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment