@4geit/ngx-toolbar-component

1.1.2 • Public • Published

@4geit/ngx-toolbar-component npm version


add a toolbar using MdToolbar and provide a set of parameters to configure

Installation

  1. A recommended way to install @4geit/ngx-toolbar-component is through npm package manager using the following command:
npm i @4geit/ngx-toolbar-component --save

Or use yarn using the following command:

yarn add @4geit/ngx-toolbar-component
  1. You need to import the NgxToolbarComponent component within the module you want it to be. For instance app.module.ts as follows:
import { NgxToolbarComponent } from '@4geit/ngx-toolbar-component';

And you also need to add the NgxToolbarComponent component with the @NgModule decorator as part of the declarations list.

@NgModule({
  // ...
  declarations: [
    // ...
    NgxToolbarComponent,
    // ...
  ],
  // ...
})
export class AppModule { }
  1. You can also attach the component to a route in your routing setup. To do so, you need to import the NgxToolbarComponent component in the routing file you want to use it. For instance app-routing.module.ts as follows:
import { NgxToolbarComponent } from '@4geit/ngx-toolbar-component';

And you also need to add the NgxToolbarComponent component within the list of routes as follows:

const routes: Routes = [
  // ...
  { path: '**', component: NgxToolbarComponent }
  // ...
];

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.2
    0
  • 1.1.1
    0
  • 1.1.0
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i @4geit/ngx-toolbar-component

Weekly Downloads

0

Version

1.1.2

License

MIT

Last publish

Collaborators

  • geraldinestarke
  • fabianstarke
  • canercandan