dp-world-faq
v0.0.12
Published
<dp-world-faq style="width: 1024px;" [questionsAndAnswers]="config.questionsAndAnswers"></dp-world-faq>
Downloads
75
Keywords
Readme
Example Usage
<dp-world-faq style="width: 1024px;" [questionsAndAnswers]="config.questionsAndAnswers">
questionsAndAnswers=[
{
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"
},
]
DpWorldFaq
This library was generated with Angular CLI version 10.1.3.
Code scaffolding
Run ng generate component component-name --project dp-world-faq
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project dp-world-faq
.
Note: Don't forget to add
--project dp-world-faq
or else it will be added to the default project in yourangular.json
file.
Build
Run ng build dp-world-faq
to build the project. The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with ng build dp-world-faq
, go to the dist folder cd dist/dp-world-faq
and run npm publish
.
Running unit tests
Run ng test dp-world-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.