MCPcopy
hub / github.com/layerJS/layerJS

github.com/layerJS/layerJS @release_0.6.4 sqlite

repository ↗ · DeepWiki ↗ · release release_0.6.4 ↗
314 symbols 632 edges 100 files 3 documented · 1%
README

Introduction

Join the chat at https://gitter.im/layerJS/layerJS

layerJS.org is an open source Javascript UI/UX library allowing intuitive, visually intense, mobile app-like experiences for web apps and websites.

UX patterns like menus, sliders, layers & light boxes, parallax effects, page-swipes, zoom effects, etc. are really just interactive animated layers. layerJS provides one simple universal concept to create such patterns in pure HTML: the Stage-Frame concept. Frames are containers that contain your content, e.g. sub pages, screens, menu panes, lightboxes, cards, slides, etc. Stages are viewports into which the frame content is dynamically fit. The root Stage is usually the browser window and its Frames represent sub pages or app screens. Frames can be exchanged within Stages using animated transitions like swipes, fades. Stages and Frames can be nested, so in an app screen(frame) a slider(stage) can exist which contains a set of slides (frames). Stages can have one or more overlapping layers with different frames, allowing effects like floating menus or parallax backgrounds.

layerJS’ concept resembles the principles of material design. In particular, layerJS’ frames are the papers/surfaces in material design. The stages are a convenient way to define the layout and the principal movements of the surfaces. With stages, animated transitions of the user interface can simply be defined by which frame should be shown in which stage in the next step.

Transitions are triggered through plain HTML links which simply name the frame which should be navigated to. layerJS also supports directional touch and touchpad gestures to trigger transitions. Use your fingers to pull down menus or swipe through a list of sub pages. Transitions can also be triggered through the API.

Watch this animation on how it works: https://layerjs.org/#explain-animation

Quickstart

layerJS can be included into your site from our CDN. Simply include the following tags into the head of your HTML document.

<script src="http://cdn.layerjs.org/libs/layerjs/layerjs-0.6.2.min.js"></script>
<link href="http://cdn.layerjs.org/libs/layerjs/layerjs-0.6.2.css" type="text/css" rel="stylesheet" />

In layerJS you will define stages, layers and frames simply by adding HTML-attributes to `

`s. Here is an example structure:










            … your HTML code …









Find examples and live demos on our project website layerjs.org.

Check out the Wiki for more details.

Issues, bug reports and feature requests

If you experience any issues or bugs using layerJS or you would like to request features, please let us know through bitbucket issue tracking. This issue tracker is open to everyone so we encourage discussion on all issues.

How to contribute

Contributions to layerJS are more than welcome. Get in touch with us at developers@layerjs.org and discuss your ideas. You can also fork the repository and start building.

layerJS uses a contribution agreement to be able to republish code under future licenses if necessary: layerJS contribution agreement

Learn more about Harmony agreements.

Core symbols most depended-on inside this repo

setTimeout
called by 78
test/jasmine/lib/jasmine-2.3.4/jasmine.js
getJasmineRequireObj
called by 49
test/jasmine/lib/jasmine-2.3.4/console.js
createDom
called by 42
test/jasmine/lib/jasmine-2.3.4/jasmine-html.js
showState
called by 29
test/spec/state_spec.js
callBack
called by 21
test/spec/observer/timeoutobserver_spec.js
callback
called by 18
test/e2e/bootstrap/bootstrap/js/bootstrap.js
check
called by 16
test/spec/LayerView_spec.js
renderRequiredTriggered
called by 12
test/spec/FrameView_spec.js

Shape

Function 314

Languages

TypeScript100%

Modules by API surface

test/jasmine/lib/jasmine-2.3.4/jasmine.js118 symbols
test/e2e/bootstrap/assets/js/jquery.min.js84 symbols
test/e2e/bootstrap/bootstrap/js/bootstrap.js22 symbols
test/jasmine/lib/jasmine-2.3.4/jasmine-html.js15 symbols
test/jasmine/lib/jasmine-2.3.4/console.js9 symbols
test/e2e/bootstrap/bootstrap/js/bootstrap.min.js8 symbols
src/kern/Kern.js7 symbols
src/framework/gestures/gesturemanager.js4 symbols
test/spec/state_spec.js3 symbols
test/spec/Kern_spec.js3 symbols
test/e2e/bootstrap/assets/js/annotate.js3 symbols
src/framework/stageview.js3 symbols

Dependencies from manifests, versioned

browserify13.3.0 · 1×
chromedriver80.0.1 · 1×
concat1.0.3 · 1×
file-savelatest · 1×
fs-extra8.1.0 · 1×
globule1.3.0 · 1×
google-closure-compiler20200204.0.0 · 1×
istanbullatest · 1×
jasmine2.9.0 · 1×
jasmine-console-reporterlatest · 1×
jasmine-expect4.0.3 · 1×
jasmine-reporters2.3.2 · 1×

For agents

$ claude mcp add layerJS \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact