Initialization
This commit is contained in:
commit
3458f39973
28 changed files with 6780 additions and 0 deletions
9
workers/tabToggler.js
Normal file
9
workers/tabToggler.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
const srTabs = ['main', 'skills', 'magic', 'enhancements', 'matrix', 'vehicles', 'equipment', 'character']
|
||||
|
||||
srTabs.forEach(tab => {
|
||||
on(`clicked:${tab}`, () => {
|
||||
setAttrs({
|
||||
'sheetTab': tab
|
||||
})
|
||||
})
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue