🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

uxcore-float-nav

Package Overview
Dependencies
Maintainers
5
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uxcore-float-nav

uxcore-float-nav component for uxcore.

latest
Source
npmnpm
Version
0.3.5
Version published
Maintainers
5
Created
Source

uxcore-float-nav

React float nav

NPM version build status Test Coverage Dependency Status devDependency Status NPM downloads

Sauce Test Status

Development

git clone https://github.com/uxcore/uxcore-float-nav
cd uxcore-float-nav
npm install
npm run server

if you'd like to save your install time,you can use uxcore-tools globally.

npm install uxcore-tools -g
git clone https://github.com/uxcore/uxcore-float-nav
cd uxcore-float-nav
npm install
npm run dep
npm run start

Test Case

npm run test

Coverage

npm run coverage

Demo

http://uxcore.github.io/components/float-nav

Contribute

Yes please! See the CONTRIBUTING for details.

API

Props

FloatNavWrapper

With content wrapper.

NameTypeRequiredDefaultComments
prefixClsstringno'uxcore-float-nav'prefix classname for component
classNamestringno''custom classname for component
showOrderNumberbooleannotrueprepend order index to the nav item
widthnumberno260nav's width
heightnumberno370nav's height
offsetobjectno{right: 20, bottom: 20}nav's position offset
contentreact elementyesnullplace the content with anchor here
stepLengthnumberno50scroll length
hoverablebooleannofalseenable the haverable feature

FloatNav

Without content wrapper.

NameTypeRequiredDefaultComments
prefixClsstringno'uxcore-float-nav'prefix classname for component
classNamestringno''custom classname for component
showOrderNumberbooleannotrueprepend order index to the nav item
widthnumberno260nav's width
heightnumberno370nav's height
offsetobjectno{right: 20, bottom: 20}nav's position offset
stepLengthnumberno50scroll length

NavItem

NameTypeRequiredDefaultComments
titlereact element or stringyes''nav item's title
anchorstringyes''define the anchor
onClickfunctionnonooptrigger when nav item is clicked with two parameter(anchor, orderNumber)

Keywords

react

FAQs

Package last updated on 06 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts