0.0.0 • Published 5 years ago

plaited-cli v0.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

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

  • element():

  • 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.

0.0.0

5 years ago