1.13.3 • Published 1 year ago
@finsweet/attributes-cmssort v1.13.3
cmssort
Attribute
Create advanced and complex no-code sorting for Webflow CMS Collection List content.
CDN Import
<!-- [Attributes by Finsweet] CMS Sort -->
<script async src="https://cdn.jsdelivr.net/npm/@finsweet/attributes-cmssort@1/cmssort.js"></script>
JavaScript API
You can access the cmssort
instances by pushing a callback into the window.fsAttributes
object:
window.fsAttributes = window.fsAttributes || [];
window.fsAttributes.push([
'cmssort',
(listInstances) => {
console.log('cmssort Successfully loaded!');
// The callback passes a `listInstances` array with all the `CMSList` instances on the page.
const [listInstance] = listInstances;
// The `renderitems` event runs whenever the list renders items after sorting.
listInstances.listInstance.on('renderitems', (renderedItems) => {
console.log(renderedItems);
});
},
]);
The callback passes an array with all the CMSList
instances on the page.
To see more about the CMSList
instance, check the cmscore
docs.
1.13.3
1 year ago
1.13.2
2 years ago
1.13.1
2 years ago
1.13.0
2 years ago
1.12.0
2 years ago
1.11.1
2 years ago
1.9.8
2 years ago
1.9.7
2 years ago
1.11.0
2 years ago
1.10.0
2 years ago
1.9.1
2 years ago
1.9.0
2 years ago
1.9.6
2 years ago
1.9.5
2 years ago
1.9.4
2 years ago
1.9.3
2 years ago
1.9.2
2 years ago
1.8.1
3 years ago
1.8.0
3 years ago
1.7.1
3 years ago
1.7.0-beta.0
3 years ago
1.7.0
3 years ago
1.6.3
3 years ago
1.6.2
3 years ago
1.6.1
3 years ago
1.6.0
3 years ago
1.5.0
3 years ago
1.4.4
3 years ago
1.4.3
3 years ago
1.4.2
3 years ago
1.4.1
3 years ago
1.4.0
3 years ago
1.3.3
3 years ago
1.3.2
3 years ago
1.3.1
3 years ago
1.3.0
3 years ago
1.2.0
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago