Some updates:

the swipe, pan and tap widgets now accept multiple classes in 
$targets="class1 class3 class2" (no commas, just spaces)

So you can do something like this in the story PageTemplate and swipe on 
tiddlers and the story river (with mouse or touch) to open and close the 
sidebar

<$swipe $targets="tc-story-river tc-tiddler-frame" $velocity="0.8" 
$state="on" $direction="right" $actions="""<$action-setfield 
$tiddler="$:/state/sidebar" text="no"/>""">
<$swipe $targets="tc-story-river tc-tiddler-frame" $velocity="0.8" 
$state="on" $direction="left" $actions="""<$action-setfield 
$tiddler="$:/state/sidebar" text="yes"/>""">

<section class="tc-story-river">

<section class="story-backdrop">

<$list 
filter="[all[shadows+tiddlers]tag[$:/tags/AboveStory]!has[draft.of]]">

<$transclude/>

</$list>

</section>

<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" 
template="$:/core/ui/ViewTemplate" editTemplate="$:/core/ui/EditTemplate" 
storyview={{$:/view}} emptyMessage={{$:/config/EmptyStoryMessage}}/>

<section class="story-frontdrop">

<$list 
filter="[all[shadows+tiddlers]tag[$:/tags/BelowStory]!has[draft.of]]">

<$transclude/>

</$list>

</section>

</section>

</$swipe>
</$swipe>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f369ffb4-54fd-4acc-987f-feba0a704de7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to