axway-univ-nav
v0.0.11
Published
![alternativetext](https://i.ibb.co/YZbNC9g/dark.png)
Downloads
4
Readme
Axway Universal Navigation
How to use
Import the script file using a script tag
<script src="https://cdn.jsdelivr.net/npm/axway-univ-nav"></script>
In the
body
section in the HTML file add adiv
with the idaxway-univ-nav
<div id="axway-univ-nav"/>
Params
Axway Universal Navigation accept the next params
theme
: (default:dark
)It changes the color mode. it accepts: [
dark
,light
]<script theme="light" src="https://cdn.jsdelivr.net/npm/axway-univ-nav"></script>
Try it offline/for Dev:
Copy the next content into an empty HTML file.
<!DOCTYPE html>
<html lang="en">
<head>
<style>
html,
body {
padding: 0px;
margin: 0px;
background-color: lightgray;
}
</style>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
<div id="axway-univ-nav"></div>
<div style="margin-top: 80px;">
First content after the header <b>80px</b>
</div>
<div>Hello</div>
<script src="https://cdn.jsdelivr.net/npm/axway-univ-nav" theme="light"></script>
</body>
</html>