Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@finsweet/cms-library

finsweet2941.9.11

A javascript Library that makes your Webflow CMS. Lists a hell of a lot more powerful.

webflow, finsweet, no-code, cms-library, cms, filter, combine, loadmore, sort, addclasses, nest, slider, tabs, anchor, prevnext

readme

Finsweet CMS Library

A javascript Library that makes your Webflow CMS. Lists a hell of a lot more powerful.

Importing the library

<script src="https://cdn.jsdelivr.net/npm/@finsweet/cms-library@1/cms-library.js">

Documentation

See https://finsweet.com/cms-library for usage and examples.

changelog

Changelog

Unreleased

  • Make the setup attribute based.

1.9.11

  • Prevented infinite loading loops when using the pagination module.

1.9.10

  • Defaulted the slider.continuous property to false while the navigation bug is still not fixed.

1.9.9

  • Updated the README.md file to contain some info about the setup and documentation references, so it's visible in the NPM page.

1.9.7 & 1.9.8

  • Fixed the infinite slider no working correctly.

1.9.6

  • Fixed asyncronous methods like nest not returning an awaitable promise as expected.

1.9.5

  • Added Nest v2. Now the nest functionality is more simple to set up:

    • Anchor tags <a> to the correspondent items Collection page are now used to identify them.
    • The script will now fetch the Collection Page of each parent Collection Item and locate all the children.
    • The script will then nest the children Collection Items that are found in the parent Collection Page.

    An example of the setup can be found here.