diff --git a/index.js b/index.js index 4612624..267fb02 100644 --- a/index.js +++ b/index.js @@ -130,6 +130,9 @@ class Tab extends EventEmitter { this.tabElements = {}; TabPrivate.initTab.bind(this)(); TabPrivate.initWebview.bind(this)(); + if (args.visible) { + this.show(); + } if (typeof args.ready === "function") { args.ready(this); }