ng-gallery
Advanced tools
Changelog
12.0.0-beta.4
See the storybook documentation
<gallery>
components can be used as string attributes
<gallery autoHeight>
, <gallery autoHeight="true">
and <gallery [autoHeight]="true">
sets the option's value to true.<gallery autoHeight="false">
and <gallery [autoHeight]="false">
sets the option's value to false.<gallery>
components can be used as string attributes
<gallery playerInterval="2000">
and <gallery [playerInterval]="2000">
sets the option's value to 2000Improved performance
ItemAutoSize, ThumbAutoSize features
itemAutoSize
option is now reactive.[thumbAutosize]
causes random invalid starting thumbnail scroller position when scrolling possible, closes #521[ItemAutosize]
in website/safari browsers do not work as expected, closes #543AutoHeight feature
Autoplay feature
autoplay
resets the timer after navigated.autoplay
only start the timer after the image is loaded.Bullets (previously named 'Dots')
disableBullets
disable bullets' clicksCustom template
galleryImage
directive within galleryItemDef
, to allow recognizing the img element in your custom item template.Core
slidingDirection
→ orientation
slidingEase
→ scrollEase
slidingDuration
→ scrollDuration
slidingDisabled
→ disableScroll
mouseSlidingDisabled
→ disableMouseScroll
autoPlay
→ autoplay
Thumbs
thumb
→ thumbs
thumbMode
→ thumbCentralized
thumbMode
→ thumbCentralized
thumbDetached
→ detachThumbs
thumbSlidingDisabled
→ disableThumbMouseScroll
thumbMouseSlidingDisabled
→ disableThumbMouseScroll
Bullets
dots
→ bullets
dotSize
→ bulletSize
dotPosition
→ bulletPosition
navScrollBehavior
the option is now removed, use scrollBehavior
instead.Changelog
11.0.0
galleryThumbDef
, galleryImageDef
, galleryItemDef
, galleryBoxDef
to set custom templates, closes #487.imageTemplate
property to GalleryConfig
.args
property in case need to attach extra data with the gallery item.itemTemplate
, thumbTemplate
and boxTemplate
has been removed from the gallery component, however they still exist in GalleryConfig
Changelog
10.0.0
GalleryModule
and LightboxModule
no longer provide the withConfig()
method.