Skip to content
This repository was archived by the owner on Jan 26, 2021. It is now read-only.

DEGJS/linksToSelect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

linksToSelect

Module for turning a list of links into a navigational select menu.

THIS REPOSITORY IS NO LONGER MAINTAINED

Sample Usage

let linksToSelectInst = linksToSelect(element, linksToSelectOptions);

Settings

let linksToSelectOptions = {
	linkSelector: 'a',
    linkAttributeSelector: 'href',
    linkActiveClass: 'is-active',
    linksWrapperClass: 'lts-link-wrapper',
    selectClass: 'lts-select',
    destinationEl: null,
    onSelectChangeCallback: null
}

Available Methods

  • create()
  • destroy()

Revision History

  • 1.0.0: First commit.

About

Module for turning a list of links into a navigational select menu.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors