1.0.3 • Published 2 years ago

nv-facutil-sradio v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

nv-facutil-sradio

  • simple-util for small-fixed-size AND selectable-data
  • its a simple version of nv-data-selection AND nv-facutil-slject
  • not support nest(nv-data-selection support)

install

  • npm install nv-facutil-sradio

usage

example

    const {rdject,creat_cls} = require("nv-facutil-sradio")


    var radio = rdject('Test',['a',100,'xyz'])

    /*
    > radio
    Test [a] {}
    >

    > radio.idx_
    0
    > radio.val_
    'a'
    >

    > radio.slct_
    radio.slct_100  radio.slct_a    radio.slct_xyz

    > radio.slct_100()
    undefined
    > radio
    Test [100] {}
    > radio.idx_
    1
    > radio.val_
    100
    >

    */

LICENSE

  • ISC