Directory

Anchor Nav for Flow - Vaadin Add-on Directory

Organizes content sections with tabs and provides anchor navigation while linking the tabs and sections Anchor Nav for Flow - Vaadin Add-on Directory
[Live Demo ↗](https://incubator.app.fi/anchor-nav-demo/anchor-nav) [<vcf-anchor-nav>](https://www.npmjs.com/package/@vaadin-component-factory/vcf-anchor-nav) component organizes content sections with tabs and provides anchor navigation while linking the tabs and sections ## Basic Usage ```java AnchorNav anchorNav = new AnchorNav(); anchorNav.setHeight("400px"); anchorNav.addSection(new Span("Section 1")); anchorNav.addSection(new Span("Section 2")); ``` ## Important information about versioning **Component versions 23.x were deprecated in order to follow Semanting Versioning practices. Please use latest version 2.x for Vaadin 23+ and version 3.x for Vaadin 24.5.** ### Compatibility - Version 1.x.x -> Vaadin 14+ - Version 2.x.x -> Vaadin 23+ - Version 3.x.x -> Vaadin 24.5.x (improved accessibility) ## Development instructions Starting the test/demo server: 1. Run `mvn jetty:run`. 2. Open http://localhost:8080 in the browser. ## Sponsored development Major pieces of development of this add-on has been sponsored by multiple customers of Vaadin. Read more about Expert on Demand at: [Support](https://vaadin.com/support) and [Pricing](https://vaadin.com/pricing)
Online Demo
View on GitHub

Anchor Nav for Flow version 1.0.0
v 1.0.0: Initial release: Initial component API

Anchor Nav for Flow version 1.0.1
- Added `expand-last` theme variant - Upgraded web component version

Anchor Nav for Flow version 1.0.2
Fixes vcf-anchor-nav devision by zero issue [#3](https://github.com/vaadin-component-factory/vcf-anchor-nav/issues/3)

Anchor Nav for Flow version 1.0.3
Update license to Apache 2.0

Anchor Nav for Flow version 1.0.4
Upgraded webcomponent version

Anchor Nav for Flow version 1.0.5
Listening to section selection changes, and added API for selecting a section

Anchor Nav for Flow version 1.0.6
Upgraded web component version

Anchor Nav for Flow version 1.1.0
Add component in tab and fixes regressions

Anchor Nav for Flow version 1.1.1
Bump the version of the webcomponent: * Added section-focus event: fired when a vcf-anchor-nav-section receives focus * Added nav and section focus listeners to manage section tabindex * Fixed initial scrollTo behavior * Added reset expand-last-height on resize

Anchor Nav for Flow version 1.1.2
Fix ResizeObserver loop completed with undelivered notifications. [Issue #4](https://github.com/vaadin-component-factory/anchor-nav/issues/4)

Anchor Nav for Flow version 1.1.3
expand-last doesn't work properly on component resize.

Anchor Nav for Flow version 3.0.0
#### New features: * New version supporting Vaadin 24.5 * Web component contain accessibility updates (tabs and header in sections are part of the light dom) ([See details](https://github.com/vaadin-component-factory/anchor-nav/pull/13))

Anchor Nav for Flow version 2.0.0
Component version compatible with Vaadin 23