1.1.4 • Published 3 years ago

pb-subsection v1.1.4

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

Pemuda Bersemangatt Library - PbSubsection Library

This library was generated with Angular CLI version 15.0.0.

Description

Compatible with Bootstrap 4 and Feather Icon

Component lib-subsection created with the aim of making it easier for developers to separate small parts on a page. In this component there are 2 input properties,

  1. id : mandatory. id determines which element on the page you want to separate from other elements.
  2. title : is optional. however, by default title is the empty string. So, it is highly recommended to fill it out.

Usage Example

Version : v1.0.0

  • id : subsectionId
  • title : Part One

<lib-pb-subsection [id]="'subsectionId'" [title]="'Part One'"></lib-pb-subsection>

then below it followed by a div which has the same id which is subsectionId.

<div id="subsectionId"> ... </div>

Changeset :

Version Pattern : v(ComponentVersion),(ModuleVersion),(SyntaxVersion or README)

Version : v1.1.0

  • BrowserModule -> CommonModule

Version : v1.1.1

  • Move event click <div id="wrapper" (click)="onClick()"> to <a (click)="onClick()">.
  • Move icon from inside link tag to outside.

Version : v1.1.2

  • Little update for the README file.

Version : v1.1.3

  • Update README
  • Auto add bootstrap 4 "collapse" and "show" classes to specific element ID when component is initialize.

Version : v1.1.4

  • Change lifecycle function from OnInit to AfterViewInit for add class "collapse show" process.
  • Update README

Author

18 December 2022 - Firman Tri Anggara - firmantrianggara@gmail.com

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago