New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

morphyjs

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

morphyjs

Component that simulates CSS-Grid layout and animates using Hooke's Law of Spring Motion between layout positions. Grid positions are defined using an enter and exit time.

latest
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

Goal

Component that simulates CSS-Grid layout and animates using Hooke's Law of Spring Motion between layout positions. Grid positions are defined using an enter and exit time.

Simple Example

<DomDiagram key="diagram"
    width={600} height={400}
    rowGap={5} columnGap={5}
    frame={time % 500}
    defaultAnimFrames={60}
    columns="20fr 20fr 20fr 20fr 20fr 20fr"
    rows="10fr 10fr 10fr 10fr 10fr 10fr 10fr">
    <TextBoxPrimitive key="Point1"
        enterFrame={40}
        rowStart={2}
        columnStart={1}
        text="Row 2 Col 1" style={{ ...title, fontSize: 12 }}/>
    <TextBoxPrimitive
        key="Point2"
        enterFrame={80}
        rowStart={3}
        columnStart={1}
        text="Row 3 Col 1"
        style={{ ...title, fontSize: 12 }} />
    <TextBoxPrimitive
        key="Point3"
        enterFrame={120}
        rowStart={4}
        columnStart={1}
        text="Row 4 Col 1"
        style={{ ...title, fontSize: 12 }}/>
</DomDiagram>

Example output

Screen Grab

FAQs

Package last updated on 24 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts