1const e=`<script setup lang="ts"> 2import { LeaferApp } from 'leafer-vue' 3import { ref } from 'vue' 4 5const amplitude = 150 6let direction = 1 7const y = ref(100) 8function animate() { 9 if (y.value > amplitude) 10 direction = -1 11 else if (y.value < 50) 12 direction = 1 13 14 y.value += direction 15 requestAnimationFrame(animate) 16} 17requestAnimationFrame(animate) 18<\/script> 19 20<template> 21 <LeaferApp :width="672" :height="340" type="draw"> 22 <Leafer> 23 <Text 24 text="Hello Leafer Vue" 25 fill="#66A659" 26 font-weight="black" 27 :italic="true" 28 :x="100" 29 :y="y" 30 :font-size="60" 31 /> 32 </Leafer> 33 </LeaferApp> 34</template> 35`;export{e as c};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.