asotog / squeezebox

Simple Angular 2 accordion component
19 stars 8 forks source link

Open when the component load #1

Closed rodboc closed 8 years ago

rodboc commented 8 years ago

Hi Mate, How can you keep open the component when it is load? I mean when the component load instead of showing the item collapsed, show them items open.

Thanks

asotog commented 8 years ago

hi, actually it has to be code a change if you see https://github.com/asotog/squeezebox/blob/master/components/sb-item.ts#L17 the flag is not an input we'll be updating this in the next couple of days i think, thanks for the feedback

asotog commented 8 years ago

Featured added please check docs now https://www.npmjs.com/package/squeezebox#options and update to 1.0.8