2.0.0 • Published 7 months ago

ngx-dynamic-headings v2.0.0

Weekly downloads
-
License
-
Repository
github
Last release
7 months ago

ngx-dynamic-headings

Dynamic Headings Generation Library

Usage

To use the library in your project, install ngx-dynamic-headings from npm:

npm install ngx-dynamic-headings --save

Import the directive in your standalone component:

import { Component } from '@angular/core';
import { NgxDynamicHeadingDirective } from 'ngx-dynamic-headings';

@Component({
  selector: 'app-root',
  standalone: true,
  imports: [ NgxDynamicHeadingDirective ],
  templateUrl: './app.component.html',
  styleUrl: './app.component.scss'
})
export class AppComponent {
}

Then use the \<h> tags wherever you want dynamic headings to be generated

<h1>This is the h1 heading</h1>

<div>
  <h>This will generate an h2 heading at runtime</h>
  <h>This will generate an h2 heading at runtime</h>
  <div>
    <h>This will generate h3 heading at runtime</h>
    <h>This will generate h3 heading at runtime</h>
  </div>
</div>
2.0.0

7 months ago

1.1.4

1 year ago

1.1.3

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago