Socket
Book a DemoInstallSign in
Socket

ngx-hive-five

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-hive-five

`npm i ngx-hive-five`

latest
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

Installation

npm i ngx-hive-five

API

import { NgxHiveFiveModule } from 'ngx-hive-five'
selector: tab2

Usage

  • Register the NgxHiveFiveModule in your app module.

import { NgxHiveFiveModule } from 'ngx-hive-five'

import { HttpClientModule } from '@angular/common/http';
import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MatAutocompleteModule, MatInputModule } from '@angular/material';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgxHiveFiveModule } from 'ngx-hive-five';
import { AppComponent } from './app.component';

@NgModule({
 declarations: [AppComponent],
 imports: [
   BrowserModule,
   BrowserAnimationsModule,
   FormsModule,
   ReactiveFormsModule,
   MatInputModule,
   MatAutocompleteModule,
   HttpClientModule,
   NgxHiveFiveModule
 ],
 providers: [],
 bootstrap: [AppComponent]
})
export class AppModule {}
  • Use the directive (NgxHiveFiveModule) in your component.
import { Component, OnInit } from '@angular/core';
import { FormControl, FormGroup } from '@angular/forms';
import { AppService } from './app.service';
@Component({
  selector: 'app',
  template: `<h3>NgxHiveFiveModule demo app using Angular Material</h3>
<div>
  <mat-form-field>
    <input matInput  tab2
      formControlName="country" >
  </mat-form-field>
  <input tab2>
  <input type="radio" tab2>
  <input type="checkbox" tab2>
</div>
`,
  styleUrls: ['./app.component.css']
})
export class AppComponent implements OnInit {

  constructor() {}

  ngOnInit() {    
  }  
}

Keywords

angular

FAQs

Package last updated on 01 Nov 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