-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(angular-test-app): add rounded tabs example (#123)
- Loading branch information
1 parent
f413e0e
commit 6a63afe
Showing
6 changed files
with
78 additions
and
15 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
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
42 changes: 42 additions & 0 deletions
42
packages/angular-test-app/src/preview-examples/tabs-rounded.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,42 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2022 Siemens AG | ||
* | ||
* SPDX-License-Identifier: MIT | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-tabs-rounded', | ||
styles: [ | ||
` | ||
:host { | ||
.example { | ||
display: block; | ||
position: relative; | ||
width: 100%; | ||
} | ||
} | ||
`, | ||
], | ||
template: ` | ||
<div class="example"> | ||
<ix-tabs rounded> | ||
<ix-tab-item><ix-icon name="success"></ix-icon></ix-tab-item> | ||
<ix-tab-item counter="200"><ix-icon name="tree"></ix-icon></ix-tab-item> | ||
<ix-tab-item><ix-icon name="maintenance"></ix-icon></ix-tab-item> | ||
<ix-tab-item disabled counter="24"> | ||
<ix-icon name="sound-loud"></ix-icon> | ||
</ix-tab-item> | ||
<ix-tab-item><ix-icon name="hierarchy"></ix-icon></ix-tab-item> | ||
<ix-tab-item disabled | ||
><ix-icon name="calendar-settings"></ix-icon | ||
></ix-tab-item> | ||
</ix-tabs> | ||
</div> | ||
`, | ||
}) | ||
export class TabsRounded {} |
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
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
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