Coder Social home page Coder Social logo

jjongtaeng / common-igrid Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 787 KB

Simple Grid library using Webcomponent

Home Page: https://jjongtaeng.github.io/common-igrid

License: MIT License

JavaScript 9.39% TypeScript 79.86% CSS 6.10% HTML 4.65%
grid webcomponents customelement

common-igrid's Introduction

common-igrid

Simple Grid library using Webcomponent

예제 링크: https://jjongtaeng.github.io/common-igrid

Grid

Row

  • Method
    • setContent(...rest: HTMLElement[])
      const $row = new Row();
      $row.setContent("Column Element");

Column

  • Method

    • setContent(content: HTMLElement | string): this;
    • setSpan(span: SpanType): this;
      const column = new Column();
      const span = { xxl: '6', xl: '6', lg: '6', md: '12', sm: '12', xs: '24'};
      
      column
        .setContent(content)
        .setSpan(span);
  • 총 24 사이즈

    • ex) xxl: 41600px에서 1/6 사이즈
  • xxl: > 1600px

  • xl: > 1200px

  • lg: > 992px

  • md: > 768px

  • sm: > 576px

  • xs: < 576px

common-igrid's People

Contributors

jjongtaeng avatar

Watchers

 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.