mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-15 06:14:53 +00:00
a60e7165d2
* feat: basic loading * feat: if condition * feat: use palette * refactor: remove css variable
11 lines
323 B
Plaintext
11 lines
323 B
Plaintext
title: $:/core/ui/ViewTemplate/lazy-loading
|
|
tags: $:/tags/ViewTemplate
|
|
|
|
\whitespace trim
|
|
<%if [<currentTiddler>has:field[_is_skinny]] %>
|
|
<!-- Render the text to trigger lazy-loading -->
|
|
{{||$:/core/ui/ViewTemplate/body/default}}
|
|
<!-- Indicator of loading state -->
|
|
<div class="tc-tiddler-lazy-loading" />
|
|
<%endif%>
|