Currently, flip always picks the elements with class="front" and class="back" as the front and back faces of the card. This can be inconvenient when these classes are already in use for something else (especially back can be tricky as it's often used for links that take you back etc), or when you have no control over the markup and the HTML you want to enrich doesn't have these style classes.
Add two settings:
front
back
When set, these will be used as the selectors for the faces instead of '.front' and '.back'. When not set, flip should fall back to the current behavior of using '.front' and '.back'.
Currently, flip always picks the elements with
class="front"
andclass="back"
as the front and back faces of the card. This can be inconvenient when these classes are already in use for something else (especiallyback
can be tricky as it's often used for links that take you back etc), or when you have no control over the markup and the HTML you want to enrich doesn't have these style classes.Add two settings:
When set, these will be used as the selectors for the faces instead of
'.front'
and'.back'
. When not set, flip should fall back to the current behavior of using'.front'
and'.back'
.