Add search previews

print-window-tiddler
Jeremy Ruston 2012-11-06 14:12:09 +00:00
rodzic c58903f865
commit 2b4d1bfd18
2 zmienionych plików z 26 dodań i 1 usunięć

Wyświetl plik

@ -0,0 +1,6 @@
title: SearchPreviewTemplate
<div class="title">
<<view title text>>
</div>
<<view text wikified>>

Wyświetl plik

@ -1,3 +1,22 @@
title: $:/templates/SearchResultTemplate
<li><<view title link>></li>
{{tw-search-result{
<li>
<<link throughField:title hover:SearchPreviewDropDownLocation qualifyHoverTitle:yes><
<<view title text>>
>>
</li>
}}}
<<reveal state:SearchPreviewDropDownLocation type:popup position:right qualifyTiddlerTitles:yes><
<div class="tw-tiddler-frame" style="color: black; width: 400px;">
<<tiddler template:SearchPreviewTemplate>>
</div>
>>