Picking up the pace with layerjs
One of the most recommended ways to learn how to use a JS library is interacting with numerous examples. layerjs has an examples page specifically developed to help facilitate such learning (https://layerjs.org/examples.html).
Simply navigate to the page and review the examples cited. Some of these include the slider, zoomui, parallax, side menu and a lightbox or modal. Navigate to the Github wiki page as well
(https://github.com/layerjs/layerjs/wiki) in order to learn more on the attributes, layouts and transitions among others.