![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
grapesjs-style-bg
Advanced tools
Full-stack background style property type for GrapesJS, with the possibility to add images, colors, and gradients
Full-stack background style property type for GrapesJS, with the possibility to add images, colors, and gradients.
Requires GrapesJS v0.20.1 or higher
grapesjs-style-bg
background
style property.Option | Description | Default |
---|---|---|
styleGradientOpts | Options for the grapesjs-style-gradient plugin | {} |
propExtender | Extend single style property definition of the background property. | prop => prop |
https://unpkg.com/grapesjs-style-bg
npm i grapesjs-style-bg
git clone https://github.com/GrapesJS/style-bg.git
Directly in the browser (remember to include the Grapick CSS)
<link href="https://unpkg.com/grapesjs/dist/css/grapes.min.css" rel="stylesheet"/>
<link href="https://unpkg.com/grapick/dist/grapick.min.css" rel="stylesheet">
<script src="https://unpkg.com/grapesjs"></script>
<script src="path/to/grapesjs-style-bg.min.js"></script>
<div id="gjs"></div>
<script type="text/javascript">
var editor = grapesjs.init({
container: '#gjs',
// ...
plugins: ['grapesjs-style-bg'],
pluginsOpts: {
'grapesjs-style-bg': { /* options */ }
}
});
</script>
Modern javascript
import grapesjs from 'grapesjs';
import plugin from 'grapesjs-style-bg';
import 'grapesjs/dist/css/grapes.min.css';
import 'grapick/dist/grapick.min.css';
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/style-bg.git
$ cd grapesjs-style-bg
Install dependencies
$ npm i
Start the dev server
$ npm start
Build the source
$ npm run build
MIT
FAQs
Full-stack background style property type for GrapesJS, with the possibility to add images, colors, and gradients
The npm package grapesjs-style-bg receives a total of 2,724 weekly downloads. As such, grapesjs-style-bg popularity was classified as popular.
We found that grapesjs-style-bg 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
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
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.