A Demo Card with selectors
-
- Lorem ipsum dolor sit
+
+
+
+
+
Lorem ipsum dolor sit
amet,
consetetur sadipscing elitr.
@@ -84,8 +92,17 @@
const wrapper2 = new CardWrapper(demoCardWithSelector)
wrapper2.handleClicksAsTaps()
wrapper2.onTap('.highlight', event => {
- alert('.highlight clicked')
+
+ Highlight.openHighlight(event.target, {
+
+ onExpanded: () => {
+ console.log("onExpanded", event.target)
+ }
+ })
})
+
+ // Highlight.animate(event)
+
wrapper2.onTap('.link', event => {
alert('.link clicked')
})
@@ -94,7 +111,8 @@
Cards can be used within scatters. Since the CardWrapper
implements the ITapDelegate
protocol they can simply
+