🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@activewidgets/angular

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@activewidgets/angular

Datagrid component for angular

Source
npmnpm
Version
0.0.5
Version published
Weekly downloads
60
-61.54%
Maintainers
1
Weekly downloads
 
Created
Source

ActiveWidgets

Fast datagrid component for Angular

ActiveWidgets 3.0 datagrid, implemented as Angular Component.

  • Examples
  • Docs

Installation

npm install @activewidgets/angular

Usage

import {Component, NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
import {AxModule} from '@activewidgets/angular';
import {columns, rows} from './data.js';

class AppComponent {

    constructor(){
        this.rows = rows;
        this.columns = columns;
    }

    static get annotations() { return [new Component({
        selector: '#app',
        template: `
            <ax-grid [rows]="rows" [columns]="columns"></ax-grid>
        `
    })]}
}


class AppModule {
    static get annotations() { return [new NgModule({
        imports: [BrowserModule, AxModule],
        declarations: [AppComponent],
        bootstrap: [AppComponent]
    })]}
}

platformBrowserDynamic().bootstrapModule(AppModule);

See http://www.activewidgets.com/

Keywords

angular

FAQs

Package last updated on 03 May 2019

Did you know?

Socket

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.

Install

Related posts