Version: v0.7.1 - Beta.  We welcome contributors & feedback.

Cookie.get

Cookie.get($key) -> any

Description

Retrieve the cookie value for the given $key.

Cookie.set('language', 'fr')


// ... in a later request ...

Session.get('language') //= 'fr'

Session.get('theme') //= ''