primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Galleria caption cannot be hidden

Open jyte opened this issue 10 years ago • 1 comments

Setting false to showCaption attribute has no effect.

Edit: actually, it works, the documentation on the showcase website is incorrect though. <p-galleria [images]="images" panelWidth="500" panelHeight="313" showCaption="true"></p-galleria> from http://www.primefaces.org/primeng/#/galleria

this doesn't work <p-galleria [images]="images" panelWidth="500" panelHeight="313" showCaption="false"></p-galleria>

but this does work <p-galleria [images]="images" [panelWidth]="500" [panelHeight]="313" [showCaption]="false"></p-galleria>

jyte avatar Sep 07 '16 17:09 jyte

Just ran into this as well in 2.0.0. The square brackets did the trick. Thanks!

Only updated the showCaption part since the panelWidth and panelHeight aren't used anywhere where they needed to be resolved as a number.

Updated and created pull request: https://github.com/primefaces/primeng/pull/2114

pauly815 avatar Feb 18 '17 12:02 pauly815