-
Notifications
You must be signed in to change notification settings - Fork 15
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
Created new branch for collapse component #146
Conversation
libs/packages/components/src/lib/collapse/collapse.component.ts
Outdated
Show resolved
Hide resolved
libs/packages/components/src/lib/collapse/collapse.directive.ts
Outdated
Show resolved
Hide resolved
libs/packages/components/src/lib/collapse/collapse.component.spec.ts
Outdated
Show resolved
Hide resolved
libs/packages/components/src/lib/collapse/collapse.component.html
Outdated
Show resolved
Hide resolved
libs/component-sample/src/lib/feature/collapse-sample/collapse-sample.component.ts
Outdated
Show resolved
Hide resolved
libs/component-sample/src/lib/feature/collapse-sample/collapse-sample.component.html
Outdated
Show resolved
Hide resolved
<p | ||
id="collapseID" | ||
[sdsCollapse]="isCollapsedContent" | ||
class="usa-accordion__content bg-base-lighter margin-top-1"> |
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.
Let's not use usa-accordion__content class in the example. It's not incorrect but it may confuse the implementing developer that this is being used for collapse.
} | ||
|
||
|
||
ngOnInit() {} |
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.
Not needed anymore?
import { CollapseDirective } from './collapse.directive'; | ||
|
||
@NgModule({ | ||
declarations: [SdsCollapseComponent, CollapseDirective], | ||
declarations: [ CollapseDirective], |
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 extra space
Description
Motivation and Context
Collapse Component
Type of Change (Select One and Apply Github Label)
Screenshots (if appropriate):
Which browsers have you tested?
Checklist: