123456789101112131415 |
- <pre>
- {#each schueler as s}
- <br>b{s.ID},{s.Name},{s.Vorname},{s.Klasse.slice(0, -1)},{h(s.ID)}
- {/each}
- </pre>
- <script>
- import Hashids from 'hashids'
- const hashids = new Hashids('schild.report hashing salt', 8, 'abcdefghkmnpqrstuvwxyz23456789')
- function h (id) { return hashids.encode(id) }
- export default {
- helpers: { h },
- }
- </script>
|