Skip to content
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

Update accordion-group.component.ts #1376

Merged
merged 1 commit into from
Dec 21, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/accordion/accordion-group.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { AccordionComponent } from './accordion.component';
/*
* ### Accordion heading

Instead of the `heading` attribute on the `accordion-group`, you can use an `accordion-heading` attribute on `any` element inside a group that will be used as the group's header template.
Instead of using `heading` attribute on the `accordion-group`, you can use an `accordion-heading` attribute on `any` element inside of a group that will be used as group's header template.

* */

Expand All @@ -32,15 +32,15 @@ import { AccordionComponent } from './accordion.component';
`
})
export class AccordionPanelComponent implements OnInit, OnDestroy {
/** click able text in accordion's group header, check `accordion heading` below for using html in header */
/** Clickable text in accordion's group header, check `accordion heading` below for using html in header */
@Input() public heading:string;
/** provides an ability to use Bootstrap's contextual panel classes (`panel-primary`, `panel-success`, `panel-info`, etc...). List of all available classes [link](http://getbootstrap.com/components/#panels-alternatives) */
/** Provides an ability to use Bootstrap's contextual panel classes (`panel-primary`, `panel-success`, `panel-info`, etc...). List of all available classes [link](http://getbootstrap.com/components/#panels-alternatives) */
@Input() public panelClass:string;
/** if <code>true</code> disables accordion group */
/** if <code>true</code> disables accordion group */
@Input() public isDisabled:boolean;

// Questionable, maybe .panel-open should be on child div.panel element?
/** is accordion group open or closed */
/** Is accordion group open or closed */
@HostBinding('class.panel-open')
@Input()
public get isOpen():boolean {
Expand Down