An open API service indexing awesome lists of open source software.

https://github.com/sterlp/ng-static-grid

Simple angular grid library for static positioning of elements
https://github.com/sterlp/ng-static-grid

angular dashboard grid grid-layout layout static-grid

Last synced: about 2 months ago
JSON representation

Simple angular grid library for static positioning of elements

Awesome Lists containing this project

README

          

# NgStaticGrid

A librariy for a simple and more static grid than gridstack.js. Main goal is that the elements can be position static on the remaining screen and stay in their position.

Main purpose are full screen dashboards -- where the user wan't to have a static postion of the widgets, like on a table.

# How to use

- **[Launch Live Preview](https://sterlp.github.io/static-grid-library/)**
- [Link to NPM](https://www.npmjs.com/package/ng-static-grid)

## Install npm module
```
npm install ng-static-grid --save
```
## Adjust app.module.ts
```ts
import { NgStaticGridModule } from 'ng-static-grid'

imports: [
// ... omitted
NgStaticGridModule
],
```
## Use it
Default is a 12 x 12 grid with 100% width and 100% hight, if nothing set.
```html


Top Left


Top Right


Center


Footer

```
Setting the default would be look like:
```html

```