Home > @jsplumbtoolkit/browser-ui-plugin-background
browser-ui-plugin-background package
Classes
| Class | Description |
|---|---|
| BackgroundPlugin | Offers a means to manage backgrounds for a Surface. |
| GeneratedGridBackground | A background that generates an SVG grid based upon the current content bounds, ensuring that there is always a grid visible underneath the content. The grid may consist of lines or dots - control this via the The size of the grid can be mandated in the options for the background, or it can be extracted from the surface. You can hide/show the background grid via the |
| SimpleBackground | A background consisting of a single image. |
| TiledBackground |
Enumerations
| Enumeration | Description |
|---|---|
| BackgroundTypes | Available background types. 'simple' is a single image. 'tiled' allows you to serve the image in tiles. |
| GridTypes | |
| TilingStrategies | Defines how the tiles are arranged. With With |
Interfaces
| Interface | Description |
|---|---|
| BackgroundOptions | Base options for background |
| GeneratedGridBackgroundOptions | Options for the generated grid background. This background is still in beta as of 5.10.6. |
| ImageBackgroundOptions | Options for an image background |
| TiledBackgroundOptions |
Variables
| Variable | Description |
|---|---|
| CLASS_BACKGROUND_BORDER | the css class that will be added to a grid background's border |
| CLASS_BACKGROUND_GRID_DOT_MAJOR | The class that will be added to the dots representing grid lines (when gridType is GridTypes.dotted) |
| CLASS_BACKGROUND_GRID_DOT_MINOR | The class that will be added to the dots representing grid tick marks (when gridType is GridTypes.dotted) |
| CLASS_BACKGROUND_GRID_MAJOR | The class that will be added to the lines representing grid lines (when gridType is GridTypes.lines) |
| CLASS_BACKGROUND_GRID_MINOR | The class that will be added to the lines representing grid tick marks (when gridType is GridTypes.lines) |
| CLASS_BACKGROUND_GRID | the css class that will be added to the major and minor dots/lines in a grid |
| CLASS_BACKGROUND | The css class that will be added to a grid background's main element |
Type Aliases
| Type Alias | Description |
|---|---|
| BackgroundType | Type of a background - the values from the BackgroundTypes enum. |
| GridType | |
| OnBackgroundReadyCallback | Callback from the SimpleBackground when the background image has loaded. |
| TileSpecs | |
| TilingStrategy | Tiling strategy - the values from the TilingStrategies enum |