title: $:/plugins/linonetwo/tw-calendar/tiddlywiki-ui/ViewTemplate/EventCalendarSidebar

\whitespace trim
\procedure lingo-base() $:/plugins/linonetwo/tw-calendar/language/
\function config-title()
[[$:/config/SideBarSegments/Visibility/]addsuffix<listItem>]
\end


<$scrollable fallthrough="no" class="tc-sidebar-scrollable event-calendar-sidebar" role="region" aria-label={{$:/language/SideBar/Caption}}>
  <div class="tc-sidebar-header">
    <$reveal state="$:/state/event-calendar-sidebar" type="match" text="yes" default="no" retain="yes" animate="yes">
      <$list filter="[all[shadows+tiddlers]tag[$:/tags/EventCalendarSideBarSegment]!has[draft.of]]" variable="listItem">
        <$reveal type="nomatch" state=<<config-title>> text="hide"  tag="div">
          <div class="tw-calendar-event-calendar-sidebar-item">
            <$transclude tiddler=<<listItem>> mode="block"/>
          </div>
        </$reveal>
      </$list>
    </$reveal>
  </div>
</$scrollable>
