// todo: add more samples https://jqueryui.com/accordion/#default // todo: add more samples http://getbootstrap.com/components/#panels-alternatives import { Component } from '@angular/core'; import { DEMOS } from './demos'; // webpack html imports let titleDoc = require('html-loader!markdown-loader!./docs/usage.md'); console.log('loaded async') @Component({ selector: 'accordion-section', template: `

Displays collapsible content panels for presenting information in a limited amount of space

The accordion component builds on top of the collapse directive to provide a list of items, with collapsible bodies that are collapsed or expanded by clicking on the item's header.

Contents

Usage

Examples

Click headers to expand/collapse content that is broken into logical sections, much like tabs.

Simple accordion

Disabled

Dynamic accordion

Open only one at a time

Styling

Configuring defaults

API Reference

` }) export class AccordionSectionComponent { public name: string = 'Accordion'; public src: string = 'https://github.com/valor-software/ngx-bootstrap/tree/development/src/accordion'; public titleDoc: string = titleDoc; public demos: any = DEMOS; }