1.0.2 ā€¢ Published 3 years ago

custom-list-sv v1.0.2

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

CustomListSv

This library was created with Angular CLI version 11.2.14.

šŸš€ Technologies

  • Typescript
  • Angular
  • NPM
  • Node.js

šŸ¤” Installation

Option 1: Run npm install custom-list-sv in the source folder of the project in order to install the custom list component.

Option 2: Run npm install -g custom-list-sv in order to install it globally.

šŸ’” How To Use

In order to use the list you should include tag custom-list-sv in your html file and provide the list of items to the items property.

The title of the list should also be provided to the title property.

šŸŽŠ Features

This library creates a custom list with a given set of items.

Takes as input an array of elements with type string.

The user can perform the following actions:

  • add a new item
  • check an existing item
  • uncheck an existing item
  • delete an item

Can be used to represent lists as : To do lists, Shopping lists, etc.

Events:

  • newItem
    • triggered when a new item is added to the list
    • retrieves the newly created item: (index, description)
  • itemChecked
    • triggered when an item form the list is checked
    • retrieves the item that is checked: (index, description, isChecked)
  • itemUnchecked
    • triggered when an item from the list is unchecked
    • retrieves the item that was unchecked: (index, description, isChecked)
  • itemDeleted
    • triggered when an item from the list is deleted
    • retrieves the item that was deleted: (index, description)

šŸ‘¤ Author

šŸ¤“ Savu Veronica Alexandra / veronica.alexandra.savu@gmail.com

šŸŒ GitHub: https://github.com/SavuVeronica/Custom-list-sv.git

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago