easy-faq v0.0.8
Example Usage
<easy-faq style="width: 1024px;" questionsAndAnswers="config.questionsAndAnswersWithCategory">
questionsAndAnswersWithCategory={"Category1":
{
question:" question 1 ",
answer: You should <a href='https://www.w3schools.com'>visit W3Schools.com!</a>
},
{
question:" question 2 ",
answer: "as much wood as a"
},
{
question:" question 3 ",
answer: "as much wood as a"
},
{
question:" question 4 ",
answer: "as much wood as a"
},
}
EasyFaq
This library was generated with Angular CLI version 10.1.3.
Code scaffolding
Run ng generate component component-name --project easy-faq to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project easy-faq.
Note: Don't forget to add
--project easy-faqor else it will be added to the default project in yourangular.jsonfile.
Build
Run ng build easy-faq to build the project. The build artifacts will be stored in the dist/ directory.
Publishing
After building your library with ng build easy-faq, go to the dist folder cd dist/easy-faq and run npm publish.
Running unit tests
Run ng test easy-faq to execute the unit tests via Karma.
Further help
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.