ng-gallery
Advanced tools
Changelog
8.0.0
isActive
to custom gallery template context, in 0b3f8bf.allow
attribute.itemLoaded
output.Changelog
8.0.0-beta.5
contentVisibilityAuto
option for version 8.itemLoaded
output which emits after an item is loaded, for image items it emits after the image is loaded.~~autoHeight
option, when set to true, the gallery height will fit the active item height.autoItemSize
option, when set to true, the item will fit its image aspect ratio.autoThumbSize
option, when set to true, the thumb will fit its image aspect ratio.scrollBehavior
option.navScrollBehavior
option.thumbImageSize
option.configSnapshot
to GalleryRef
class.behavior
to all next(behavior?)
, prev(behavior?)
, set(index, behavior?)
functions, fallbacks to the scrollBehavior
config.itemTemplate
is provided.Changelog
8.0.0-beta.4
contentVisibilityAuto
option to set the proper content-visibility
and contain-intrinsic-size
value on all gallery items/thumbs, in 73b20a9.~~loading
attribute on all img
and iframe
for native lazy loading.lazy-image
directive.Changelog
8.0.0-beta.1
resizeDebounceTime
option which is used to update the gallery on window resize event in 34a2723 and d867630.slidingEase
and slidingDuration
to customize sliding ease and duration in 4c1db03.thumbDetached
to detach thumb slider, closes #289 in 1f47484.boxTemplate
to the gallery, closes #487 in f46e33a.slidingDisabled
and thumbSlidingDisabled
options to enable/disable sliding on Mobile and Desktop using the touchpad. in 2451581.mouseSlidingDisabled
and mouseThumbSlidingDisabled
options to enable/disable sliding on Desktop using the mouse. in 2451581.thumbView="contain"
Sliding thumbnails using gestures has an issue, closes #417 in e819ebe.thumbMode
option from the gallery, in 18f71e3tapClick
event and use native click
event, in 3d960cc.ng-content
from the gallery, in 63e3b6b.panSensitivity
option, in d1f8d34.gestures
option, in 70cb00c.reserveGesturesAction
option, in 4b07fc7.zoomOut
option, in 19ba2b8.HammerJs is only used for sliding using the mouse on desktop only, Sliding on mobile devices is now native scroll.
gestures
option has been deprecated.thumbMode
option has been deprecated, sliding thumbnails is free.zoomOut
has been deprecated.reserveGesturesAction
has been deprecated.panSensitivity
has been deprecated.ng-content
from the gallery, use boxTemplate
option to add your custom layer.loadingStrategy
option has changed to LoadingStrategy.Preload
.bezier-easing
.