Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

overlayColor prop does not worjk properly #118

Open
peminator opened this issue Feb 28, 2022 · 1 comment
Open

overlayColor prop does not worjk properly #118

peminator opened this issue Feb 28, 2022 · 1 comment

Comments

@peminator
Copy link

i use it directly in browser, all ok, but setting the rgba or hex color to :overlayColor, based on https://vue-cool-lightbox.lucaspulliese.com/#items-attributes does not work for me, fails to initialize (bypassed by forcing some own css, but should be fixed)

also - please - add option to not use thumbnails (im hidint the button with css at the moment)

@cchacholiades
Copy link

cchacholiades commented Jul 19, 2022

@peminator

  • You should be using the overlayColor as below and not as :overlayColor.

  • And to hide the thumbnail viewer, use prop :gallery="false", see source here. This is not documented.

<CoolLightBox
    :items="media"
    :index="mindex"
    overlayColor="rgba(20, 20, 20, .9)"
    :gallery="false"
    @close="mindex = null"
>
</CoolLightBox>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants