Skip to content

krrskl/ionic-accordion-component

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Accordion Component for Ionic 4

Image Preview

Usage

To use this component, clone it in its components folder and then generate a file called components.module.ts in the root folder. Remaining a structure like the following

Image

Now in your file components.module.ts you must import and export your component. Your file should look like this

Image

On the page that you want to use the component, you must now import its component module in the your-page.module.ts file inside the imports: [] After having done this you can invoke the component in the following way:

<accordion title="Your Title"> Your Content Here </accordion>

About

An accordion component for Ionic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 68.9%
  • HTML 23.5%
  • SCSS 7.6%