Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 813 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 813 Bytes

bakery-om-root

A leaven component for a root om component.

Install

Add [com.palletops/bakery-om-root "0.3.1-SNAPSHOT"] to your :dependencies.

Usage

The com.palletops.bakery.om-root/om-root function returns a leaven component that is an atom backed by html5 local storage if supported by the javascript runtime. It accepts two arguments with the following values:

default : a value for the atom if not already in local storage.

key : a keyword for the key to store the atom under in local storage.

License

Copyright © 2014 Hugo Duncan

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.