-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: (core) stackblitz files for dropdown (#1596)
* fixed stackblitz files * fix angular.json file
- Loading branch information
1 parent
c9d421f
commit adce0b7
Showing
8 changed files
with
105 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...c/app/core/component-docs/dropdown/examples/dropdown-contextual-menu-example.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'fd-dropdown-contextual-menu-example', | ||
templateUrl: './dropdown-contextual-menu-example.component.html' | ||
}) | ||
export class DropdownContextualMenuExampleComponent { | ||
|
||
menu1 = [ | ||
{ text: 'Option 1', url: '#' }, | ||
{ text: 'Option 2', url: '#' }, | ||
{ text: 'Option 3', url: '#' } | ||
]; | ||
|
||
} |
21 changes: 21 additions & 0 deletions
21
.../docs/src/app/core/component-docs/dropdown/examples/dropdown-default-example.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'fd-dropdown-default-example', | ||
templateUrl: './dropdown-default-example.component.html' | ||
}) | ||
export class DropdownDefaultExampleComponent { | ||
|
||
menu1 = [ | ||
{ text: 'Option 1', url: '#' }, | ||
{ text: 'Option 2', url: '#' }, | ||
{ text: 'Option 3', url: '#' } | ||
]; | ||
|
||
menu2 = [ | ||
{ text: 'Option 3', url: '#' }, | ||
{ text: 'Option 4', url: '#' }, | ||
{ text: 'Option 5', url: '#' } | ||
]; | ||
|
||
} |
85 changes: 0 additions & 85 deletions
85
apps/docs/src/app/core/component-docs/dropdown/examples/dropdown-examples.component.ts
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
apps/docs/src/app/core/component-docs/dropdown/examples/dropdown-icons-example.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'fd-dropdown-icons-example', | ||
templateUrl: './dropdown-icons-example.component.html' | ||
}) | ||
export class DropdownIconsExampleComponent { | ||
|
||
values = [ | ||
{ name: 'Photo Voltaic', icon: 'photo-voltaic' }, | ||
{ name: 'Settings', icon: 'settings' }, | ||
{ name: 'Database', icon: 'database' }, | ||
{ name: 'Passenger Train', icon: 'passenger-train' }, | ||
{ name: 'World', icon: 'world' }, | ||
{ name: 'Shield', icon: 'shield' } | ||
]; | ||
|
||
} |
15 changes: 15 additions & 0 deletions
15
apps/docs/src/app/core/component-docs/dropdown/examples/dropdown-state-example.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'fd-dropdown-state-example', | ||
templateUrl: './dropdown-state-example.component.html' | ||
}) | ||
export class DropdownStateExampleComponent { | ||
|
||
menu1 = [ | ||
{ text: 'Option 1', url: '#' }, | ||
{ text: 'Option 2', url: '#' }, | ||
{ text: 'Option 3', url: '#' } | ||
]; | ||
|
||
} |
20 changes: 20 additions & 0 deletions
20
.../docs/src/app/core/component-docs/dropdown/examples/dropdown-toolbar-example.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'fd-dropdown-toolbar-example', | ||
templateUrl: './dropdown-toolbar-example.component.html' | ||
}) | ||
export class DropdownToolbarExampleComponent { | ||
|
||
menu1 = [ | ||
{ text: 'Option 1', url: '#' }, | ||
{ text: 'Option 2', url: '#' }, | ||
{ text: 'Option 3', url: '#' } | ||
]; | ||
|
||
menu2 = [ | ||
{ text: 'Option 3', url: '#' }, | ||
{ text: 'Option 4', url: '#' }, | ||
{ text: 'Option 5', url: '#' } | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters