@vaadin-component-factory/vcf-anchor-nav
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "@vaadin-component-factory/vcf-anchor-nav", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Component with tabs used as anchor navigation and content sections. Automates the linking of tabs and sections.", | ||
@@ -5,0 +5,0 @@ "main": "theme/lumo/vcf-anchor-nav.js", |
@@ -62,3 +62,3 @@ /** | ||
position: sticky; | ||
top: 0; | ||
top: -1px; | ||
background: var(--lumo-base-color); | ||
@@ -78,3 +78,3 @@ } | ||
static get version() { | ||
return '0.1.2'; | ||
return '0.1.3'; | ||
} | ||
@@ -92,4 +92,3 @@ | ||
value: 0, | ||
observer: '_selectedChanged', | ||
readOnly: true | ||
observer: '_selectedChanged' | ||
}, | ||
@@ -99,8 +98,4 @@ /** | ||
* @type {String} | ||
* @readonly | ||
*/ | ||
selectedId: { | ||
type: String, | ||
readOnly: true | ||
} | ||
selectedId: String | ||
}; | ||
@@ -183,4 +178,4 @@ } | ||
if (navItem.selected) { | ||
this._setSectionId(sectionId); | ||
this._setSelectedIndex(this._getNodeIndex(navItem)); | ||
this.sectionId = sectionId; | ||
this.selectedIndex = this._getNodeIndex(navItem); | ||
} | ||
@@ -187,0 +182,0 @@ } |
165358
1734