plaited-cli v0.0.0
plaited
Modules
attr() This utility function is useful for adding, removing, and getting attribute values from an element or list of elements.
classNames(): Takes n string arguments that contain class names for a node and then concatenates them while filtering out falsey values.
createIDB(): This module is a functional fork of the Store class in Jake Archibald's idb-keyval. It returns Promise that can be used to create new indexedDB utility function as demonstrated in useIndexedDB.
css(): Uses to tag template literals with css content and return a compact human readable string.
- cssVars(): Easily inline css custom properties on template literals. This function will take n object, filtering out falsey ones and prefixing keys with --.
decorateElement(): This utility function is used to define webcomponents in html. It was forked from code found in this article
html(): This utility function is used to tag template literals containing html markup. It was inspired by the Dr. Axel Rauschmayer 2015 article using template literals for HTML templating.
render(): Use this function to render a template into a target element.
5 years ago