Skip to content

Commit c87f9f0

Browse files
committed
docs(underTheHood): 📝 icon cache
1 parent 3c393f0 commit c87f9f0

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<template>
2+
<div class="p-10">
3+
A cache for <Code inline>&nbsp;ListItem&nbsp;</Code> icon <Code
4+
inline>&nbsp;ImageSource&nbsp;</Code> objects.
5+
6+
<DocNotice type="info" class="mt-4" style="width: calc(100% - 1.5rem)">
7+
Since plugin methods are run in a <Code inline>&nbsp;Task&nbsp;</Code>,
8+
the cache is used to save memory and ensure images are created on the UI
9+
thread.
10+
</DocNotice>
11+
</div>
12+
</template>
13+
14+
<script setup lang="ts">
15+
import DocNotice from '~/components/docNotice.vue'
16+
import Code from '~/components/code.vue'
17+
import ExternalLink from '~/components/link.vue'
18+
</script>

0 commit comments

Comments
 (0)