Skip to content

Commit

Permalink
feat(demo): add missing section title (#3249)
Browse files Browse the repository at this point in the history
- Added title `Trigger by tag <a>`
- Set title and anchor to be mandatory for examples
  • Loading branch information
EvilAlexei authored and valorkin committed Dec 11, 2017
1 parent 8b46dd5 commit 71a2f33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion demo/src/app/components/+dropdown/dropdown-section.list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ export const demoComponentContent: ContentSection[] = [
outlet: DemoDropdownBasicComponent
},
{
title: 'Trigger by tag <a>',
anchor: 'link-button',
component: require('!!raw-loader?lang=typescript!./demos/basic/basic-link.ts'),
html: require('!!raw-loader?lang=markup!./demos/basic/basic-link.html'),
description: `<p>And with <code> &lt;a&gt; </code> elements:</p>`,
outlet: DemoDropdownBasicLinkComponent
},
{
Expand Down
4 changes: 2 additions & 2 deletions demo/src/app/docs/models/components-examples.model.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export interface ComponentExample {
anchor?: string;
title?: string;
anchor: string;
title: string;
description?: string;
component?: string;
html?: string;
Expand Down

0 comments on commit 71a2f33

Please sign in to comment.