Quick Launch can be configured by going to the site settings -> Navigation.
In this post, I will show you how to add or remove link to Quick Launch programatically using Javascript Object Model (JSOM).
We will follow following three steps to add a link to the quick navigation.
- Get the Quick Launch navigation node collection
- Set propertied for a new navigation node
- Create node as the last node in the collection
Following example is the full code sample that adds a node to the Quick Launch area of the current Web site.