- 
                Notifications
    You must be signed in to change notification settings 
- Fork 119
DOCSP-1682 - Change default tab behavior to render inline. Added 'hid… #178
DOCSP-1682 - Change default tab behavior to render inline. Added 'hid… #178
Conversation
| MUST BE MERGED WITH: | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Largely lgtm! A type issue though
| this.type = null; | ||
| if (this.tabStrip !== null) { | ||
| this.type = this.tabStrip.getAttribute('data-tab-preference'); | ||
| if (this.tabStrips !== null) { | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this.tabStrips will never be null given the above switch to querySelectorAll.
This should read if (this.tabStrips.length > 0) {
|  | ||
| setup() { | ||
| if (!this.tabStrip) { return; } | ||
| if (!this.tabStrips) { return; } | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above
|  | ||
| update() { | ||
| if (!this.tabStrip) { return; } | ||
| if (!this.tabStrips) { return; } | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you've tested this out, I don't see anything wrong 👍
…den: true' property to hide tab strips. Added 'tabs-top' directive to pull tab strip to the top of the page.
e4bd101    to
    a03ef19      
    Compare
  
    
…den: true' property to hide tab strips. Added 'tabs-top' directive to pull tab strip to the top of the page.
This change is