Skip to content

geekrelief/nitrogen_elements

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nitrogen Elements

The simpler elements may be used as-is when nitrogen-elements is installed as an erlang lib (i.e. in the erlang libs path, see notice below).

The tabs control needs some additional changes to the javascript and css code. For the time being, these changes needs to be applied manually.

Install nitrogen elements as an Erlang library

Run:

make

This should compile all elements and place the beam files in the ebin sub directory. Notice: you need to have nitrogen installed (needs to find the wf.inc file).

Add the nitrogen_elements directory to your ERL_LIBS environment variable (or place/clone it to a path already mentioned by ERL_LIBS), then:

-include_lib("nitrogen_elements/include/nitrogen_elements.hrl").

to use the elements and actions provided by this lib in your code.

N.B. that i.e. the tabs element needs additional changes to the js and css code. See the src/element_tabs/ directory.

About

Elements for Nitrogen Web Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published