Skip to content

Commit

Permalink
docs(typehead): rename demo Static array to Basic valor-software#3657 (
Browse files Browse the repository at this point in the history
…valor-software#3658)

Rename demo Static array to Basic array

Close valor-software#3657
  • Loading branch information
IraErshova authored and valorkin committed Feb 22, 2018
1 parent eb3f352 commit 7d10900
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Component } from '@angular/core';

@Component({
selector: 'demo-typeahead-static',
templateUrl: './static.html'
selector: 'demo-typeahead-basic',
templateUrl: './basic.html'
})
export class DemoTypeaheadStaticComponent {
export class DemoTypeaheadBasicComponent {
selected: string;
states: string[] = [
'Alabama',
Expand Down
8 changes: 4 additions & 4 deletions demo/src/app/components/+typeahead/demos/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DemoTypeaheadStaticComponent } from './static/static';
import { DemoTypeaheadBasicComponent } from './basic/basic';
import { DemoTypeaheadItemTemplateComponent } from './item-template/item-template';
import { DemoTypeaheadFieldComponent } from './field/field';
import { DemoTypeaheadAsyncComponent } from './async/async';
Expand All @@ -15,7 +15,7 @@ import { DemoTypeaheadPhraseDelimitersComponent } from './phrase-delimiters/phra
import { DemoTypeaheadFormComponent } from './form/form';

export const DEMO_COMPONENTS = [
DemoTypeaheadStaticComponent,
DemoTypeaheadBasicComponent,
DemoTypeaheadItemTemplateComponent,
DemoTypeaheadFieldComponent,
DemoTypeaheadAsyncComponent,
Expand All @@ -34,8 +34,8 @@ export const DEMO_COMPONENTS = [

export const DEMOS = {
static: {
component: require('!!raw-loader?lang=typescript!./static/static.ts'),
html: require('!!raw-loader?lang=markup!./static/static.html')
component: require('!!raw-loader?lang=typescript!./basic/basic.ts'),
html: require('!!raw-loader?lang=markup!./basic/basic.html')
},
itemTemplate: {
component: require('!!raw-loader?lang=typescript!./item-template/item-template.ts'),
Expand Down
12 changes: 6 additions & 6 deletions demo/src/app/components/+typeahead/typeahead-section.list.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DemoTypeaheadStaticComponent } from './demos/static/static';
import { DemoTypeaheadBasicComponent } from './demos/basic/basic';
import { DemoTypeaheadItemTemplateComponent } from './demos/item-template/item-template';
import { DemoTypeaheadFieldComponent } from './demos/field/field';
import { DemoTypeaheadAsyncComponent } from './demos/async/async';
Expand Down Expand Up @@ -36,11 +36,11 @@ export const demoComponentContent: ContentSection[] = [
outlet: ExamplesComponent,
content: [
{
title: 'Static array',
anchor: 'static-array',
component: require('!!raw-loader?lang=typescript!./demos/static/static.ts'),
html: require('!!raw-loader?lang=markup!./demos/static/static.html'),
outlet: DemoTypeaheadStaticComponent
title: 'Basic array',
anchor: 'Basic-array',
component: require('!!raw-loader?lang=typescript!./demos/basic/basic.ts'),
html: require('!!raw-loader?lang=markup!./demos/basic/basic.html'),
outlet: DemoTypeaheadBasicComponent
},
{
title: 'Item template',
Expand Down

0 comments on commit 7d10900

Please sign in to comment.