Coder Social home page Coder Social logo

popo's Introduction

PoPo

PoPo is the grid layout tool, the best choice for runtime layout.

中文介绍

PoPo is a two dimensional grid layout library, The rows and columns of the grid system are custom defined at runtime, no CSS dependence, supports any size screen, It is especially suitable for large screen and super large screen.PoPo adopts the double layout pattern of grid and panel, it encapsulates content independent layout code, You can quickly build any complex pages without writing any HTML or CSS code.

Features

  • Custom grid system, no CSS dependence, no third party library dependency, no need to write HTML, CSS code
  • Grid system uniform and free layout && Universal panel layout && User defined layout patterns, Let layout be arbitrary.
  • Scaling, positioning, auxiliary information, grid auxiliary line, sub screen (coordinate) auxiliary line, panel auxiliary line debugging function, so that the big screen application development debugging no longer bother
  • Rapid construction of visualization applications
  • Adaptive multi screen
  • Rich configuration, debugging options and API
  • Compatible IE9+

Examples

More Examples...

Install

  1. node.js
// npm
npm install popojs  --save

// yarn
yarn add popojs
  1. browser
<srcript src="./js/popo.min.js"></script>

Use

  1. node.js
var P = require('popojs');

// or

import * as P from 'popojs';

// Initialize PoPo Instance
var popoInstance = P.init({
    rows: 12,
    cols: 24
});

...

// Render to container
popoInstance.addTo('container');
  1. browser
// body
...
<div id="container"></div>
...
<script>
P.init({
    container: 'container',
    rows: 12,
    cols: 24
});
</script>

popo's People

Contributors

shunok avatar

Watchers

James Cloos avatar opentanent avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.