🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
18
node_modules/shiki/samples/gjs.sample
generated
vendored
Normal file
18
node_modules/shiki/samples/gjs.sample
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import { helper } from '@ember/component/helper';
|
||||
import { modifier } from 'ember-modifier';
|
||||
|
||||
const plusOne = helper(([num]) => num + 1);
|
||||
|
||||
const setScrollPosition = modifier((element, [position]) => {
|
||||
element.scrollTop = position
|
||||
});
|
||||
|
||||
<template>
|
||||
<div class="scroll-container" {{setScrollPosition @scrollPos}}>
|
||||
{{#each @items as |item index|}}
|
||||
Item #{{plusOne index}}: {{item}}
|
||||
{{/each}}
|
||||
</div>
|
||||
</template>
|
||||
|
||||
# From https://github.com/ember-template-imports/ember-template-imports
|
||||
Loading…
Add table
Add a link
Reference in a new issue