import { DemoCarouseBasicComponent } from './demos/basic/basic'; import { DemoCarouselCaptionsComponent } from './demos/captions/captions'; import { DemoCarouselConfigComponent } from './demos/config/config'; import { DemoCarouselDynamicComponent } from './demos/dynamic/dynamic'; import { ContentSection } from '../../docs/models/content-section.model'; import { DemoTopSectionComponent } from '../../docs/demo-section-components/demo-top-section/index'; import { ExamplesComponent } from '../../docs/demo-section-components/demo-examples-section/index'; import { ApiSectionsComponent } from '../../docs/demo-section-components/demo-api-section/index'; import { NgApiDocComponent, NgApiDocConfigComponent } from '../../docs/api-docs'; export const demoComponentContent: ContentSection[] = [ { name: 'Usage', anchor: 'usage', outlet: DemoTopSectionComponent, content: { doc: require('html-loader!markdown-loader!./docs/usage.md') } }, { name: 'Examples', anchor: 'examples', outlet: ExamplesComponent, content: [ { title: 'Basic', anchor: 'basic', component: require('!!raw-loader?lang=typescript!./demos/basic/basic.ts'), html: require('!!raw-loader?lang=markup!./demos/basic/basic.html'), outlet: DemoCarouseBasicComponent }, { title: 'Optional captions', anchor: 'captions', description: `
Add captions to your slides easily with the .carousel-caption
element within any <slide>. Place just about any optional HTML within there
and it will be automatically aligned and formatted.