1 parent 3c393f0 commit c87f9f0Copy full SHA for c87f9f0
1 file changed
components/docsSections/underHood/IconCache.vue
@@ -0,0 +1,18 @@
1
+<template>
2
+ <div class="p-10">
3
+ A cache for <Code inline> ListItem </Code> icon <Code
4
+ inline> ImageSource </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> Task </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