![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
grapesjs-navbar
Advanced tools
Simple navbar component for GrapesJS editor
grapesjs-navbar
navbar
navbar
, navbar-container
, navbar-nav-menu
, navbar-nav-menu-link
, navbar-burger-menu
, navbar-burger-menu-line
Option | Description | Default |
---|---|---|
id | The ID used to create the block and component. | navbar |
label | The label used for the block and the component. | Navbar |
block | Object to extend the default block, eg. { category: 'Extra', ... } . Pass a falsy value to avoid adding the block. | {} |
style | Custom CSS styles for the component. This will replace the default one. | '' |
styleAdditional | Additional CSS styles for the component. These will be appended to the default one. | '' |
classPrefix | Component class prefix. | navbar |
https://unpkg.com/grapesjs-navbar
npm i grapesjs-navbar
git clone https://github.com/GrapesJS/components-navbar.git.git
Directly in the browser
<link href="path/to/grapes.min.css" rel="stylesheet"/>
<script src="path/to/grapes.min.js"></script>
<script src="path/to/grapesjs-navbar.min.js"></script>
<div id="gjs"></div>
<script type="text/javascript">
var editor = grapesjs.init({
container : '#gjs',
plugins: ['grapesjs-navbar'],
pluginsOpts: {
'grapesjs-navbar': {/* ...options */}
}
});
</script>
Modern javascript
import grapesjs from 'grapesjs';
import plugin from 'grapesjs-navbar';
const editor = grapesjs.init({
container : '#gjs',
// ...
plugins: [plugin],
pluginsOpts: {
[plugin]: { /* options */ }
}
// or
plugins: [
editor => plugin(editor, { /* options */ }),
],
});
Clone the repository
$ git clone https://github.com/GrapesJS/components-navbar.git.git
$ cd grapesjs-navbar
Install it
$ npm i
Start the dev server
$ npm start
Build before the commit. This will also increase the patch level version of the package
$ npm run build
BSD 3-Clause
FAQs
Simple navbar component for GrapesJS editor
We found that grapesjs-navbar demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.