Git Product home page Git Product logo

dailycheck_jandi's Introduction

DailyCheck_Jandi

/**
 * @param {Array} query
 * @param {String|Int} max_horizontal
 * @param {String} active_txt
 * @param {String} inactive_txt
 */
function Jandi(query, max_horizontal = 'auto', active_txt = '🟩', inactive_txt = '⬜') {...}
/* Query */
[
    {
        "year": 2022,  // λ…„
        "month": 4,    // μ›”
        "day": "auto", // ν•΄λ‹Ή μ—°μ›”μ˜ λ§ˆμ§€λ§‰ 일둜 μžλ™ μ„€μ •
        "bit_flag": 0  // μž”λ”” λΉ„νŠΈν”Œλž˜κ·Έ κ°’ (0~2147483647)
    },
    {
        "year": 2022,           // λ…„
        "month": 5,             // μ›”
        "day": 16,              // μˆ˜λ™μœΌλ‘œ μ„€μ •
        "bit_flag": 2147483647  // μž”λ”” λΉ„νŠΈν”Œλž˜κ·Έ κ°’ (0~2147483647)
    },
]
/* Example */
const Query = [
    {
        "year": 2022,
        "month": 1,
        "day": "auto",
        "bit_flag": 3823402
    },
    {
        "year": 2022,
        "month": 2,
        "day": "auto",
        "bit_flag": 28172399
    },
    {
        "year": 2022,
        "month": 3,
        "day": "auto",
        "bit_flag": 82739483
    },
    {
        "year": 2022,
        "month": 4,
        "day": "auto",
        "bit_flag": 19283723
    },
    {
        "year": 2022,
        "month": 5,
        "day": 16,
        "bit_flag": 44317
    }
];

const _Jandi = Jandi(Query);
console.log('Output 1');
console.log(_Jandi, '\n');

const _Jandi_2 = Jandi(Query, 16);
console.log('Output 2');
console.log(_Jandi_2, '\n');

const _Jandi_3 = Jandi(Query, 'auto', '[X]', '[ ]');
console.log('Output 3');
console.log(_Jandi_3, '\n');

const _Jandi_4 = Jandi(Query, 5, '[X]', '[ ]');
console.log('Output 4');
console.log(_Jandi_4, '\n');

Output

스크란샷 2022-05-16 15 12 03

dailycheck_jandi's People

Contributors

lif-lee avatar

Stargazers

리리리프 avatar nemong avatar nonn_app 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.