✨
This commit is contained in:
@@ -82,9 +82,10 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi
|
|||||||
/** @override */
|
/** @override */
|
||||||
_onRender(context, options) {
|
_onRender(context, options) {
|
||||||
|
|
||||||
const tabs = new foundry.applications.ux.Tabs({navSelector: ".tabs", contentSelector: ".content", initial: "tab1"});
|
const tabs = new foundry.applications.ux.Tabs({navSelector: ".tabs", contentSelector: ".content", initial: this.tab});
|
||||||
tabs.bind(this.element);
|
tabs.bind(this.element);
|
||||||
|
|
||||||
|
console.log(this.tab);
|
||||||
tabs.activate(this.tab);
|
tabs.activate(this.tab);
|
||||||
|
|
||||||
tabs.callback = function(){
|
tabs.callback = function(){
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "0.0.50",
|
"version": "0.0.51",
|
||||||
"id": "pokemon",
|
"id": "pokemon",
|
||||||
"title": "Pokémon TTRPG",
|
"title": "Pokémon TTRPG",
|
||||||
"description": "A Pokémon TTRPG",
|
"description": "A Pokémon TTRPG",
|
||||||
|
|||||||
BIN
system.zip
BIN
system.zip
Binary file not shown.
Reference in New Issue
Block a user