angular-gridster2
Demo
Angular implementation of angular-gridsterRequires Angular 8.x
For other Angular versions check the other branches.
Install
npm install angular-gridster2-library --save
Should work out of the box with webpack, respectively angular-cli.
; @
Browser support
What Angular supports here
How to use
<!-- your content here -->
Initialize a simple dashboard:
; options: GridsterConfig; dashboard: Array<GridsterItem>; static itemChangeitem, itemComponent static itemResizeitem, itemComponent ngOnInit changedOptions removeItemitem addItem
Note: The gridster will take all the available space from the parent. It will not size depending on content. The parent of the component needs to have a size.
Having iFrame in widgets content
iFrames can interfere with drag/resize of widgets. For a workaround please read this issue #233
Interact with content without dragging
Option 1 (without text selection):
Some content to click without dragging the widget open_with clear
Option 2 (with text selection):
Some content to select and click without dragging the widget open_with clear
here
ContributorsSupporters
@matpag (Mattia Pagini) Derek
License
The MIT License
Copyright (c) 2020 Tiberiu Zuld