-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ISCT-97: Add UI style v4 #251
Conversation
…o feature/isct-97-ui-style-v4
…book-foundation folder by version v3 and v4 as sub-folders
Remove section of icons from V4 root folder - they are from phosphor icons lib
…o feature/isct-97-ui-style-v4
…on component consumer no need use full path "ph/regular/some-icon" fro regular icons, instead possible to use "ph/regular/some-icon"
@@ -37,6 +37,7 @@ export class IconDocsV2Component implements OnInit { | |||
|
|||
private getIcons$(): Observable<string[]> { | |||
const iconNames$ = of(ICON_NAMES); // possible from API service | |||
// const iconNames$ = of( Array(1000).fill('analytics') /*ICON_NAMES.filter(icon=>icon==='analytics')*/); // possible from API service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok.
@@ -56,35 +59,49 @@ export class SvgComponent implements AfterViewInit, OnDestroy { | |||
} | |||
|
|||
ngAfterViewInit() { | |||
this.loadSvg(); | |||
if (!this.requestedToLoad) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do you need this requestedToLoad ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because has 2 call for this.loadSvg();
One from ngAfterViewInit() - after element will be rendered, and also has in onPathChanged method.
But now we don't need it (http request now shared)
No description provided.