
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
odoo10-addon-web-widget-slickroom
Advanced tools
Provides Slick Carousel Widget with DarkroomJS image editing
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg :target: http://www.gnu.org/licenses/agpl :alt: License: AGPL-3
This module extends the Slick
_ carousel widget provided by
web_widget_slick
to include the DarkroomJS
_ image editing features provided
by web_widget_darkroom
.
.. _Slick: http://kenwheeler.github.io/slick .. _DarkroomJS: https://github.com/MattKetmo/darkroomjs
To create a Slick carousel widget with DarkroomJS support, follow the
usage instructions in the web_widget_slick
documentation, but replace
"one2many_slick_images" with "slickroom" in the field definition, as shown
here::
<field name="image_ids" widget="slickroom" options="{}"/>
To edit an image in a carousel, simply click the Edit button in the form view,
then click on the image you wish to edit to open a DarkroomJS modal. Edit the
image as desired according to the web_widget_darkroom
documentation, and
click Save to save the changes and update the carousel.
An example implementation, for instructional purposes as well as convenient
functional testing, is provided in the web_widget_slick_example
module.
web_widget_slick_example
.web_widget_slick
) is displayed on
top, followed by the slickroom widget with DarkroomJS support. Click the Edit
button in the form view to try out the DarkroomJS features.To try out different Slick settings:
options="{'slidesToShow': 2}
, and add
any desired settings (separated by commas) inside the curly braces... image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot :target: https://runbot.odoo-community.org/runbot/162/10.0
Bugs are tracked on GitHub Issues <https://github.com/OCA/web/issues>
_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smash it by providing detailed and welcomed feedback.
Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>
_.Do not contact contributors directly about support or help with technical issues.
.. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
To contribute to this module, please visit https://odoo-community.org.
FAQs
Provides Slick Carousel Widget with DarkroomJS image editing
We found that odoo10-addon-web-widget-slickroom demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.