UNPKG

vegana

Version:

vegana is a container based js framework

61 lines 1.63 kB
{ "template": [ "2iyza9rkkm1pgl2c", "2iyza9rkkm1ply8b" ], "rows": { "2iyza9rkkm1pgl2c": { "id": "2iyza9rkkm1pgl2c", "template": [ "2iyza9rkkm1pgmf8", "2iyza9rkkm1pgwzx" ], "containers": { "2iyza9rkkm1pgmf8": { "id": "2iyza9rkkm1pgmf8", "field": { "type": "heading", "data": { "value": "engine.binder.active" } } }, "2iyza9rkkm1pgwzx": { "id": "2iyza9rkkm1pgwzx", "field": { "type": "paragraph", "data": { "value": "get checked property from a dom element." } }, "style": { "width": "90%" } } } }, "2iyza9rkkm1ply8b": { "id": "2iyza9rkkm1ply8b", "template": [ "2iyza140km2qoizm" ], "containers": { "2iyza140km2qoizm": { "id": "2iyza140km2qoizm", "field": { "type": "code", "data": { "value": "\nconst checkbox = engine.make.input({\n parent:pageId, //change this to the id of parent dom element\n type:'checkbox',\n});\n\nlet isActive = engine.binder.active(checkbox);\n\nconsole.log(isActive);" } }, "style": { "width": "95%" } } } } }, "title": "Vegana Api : Engine Binder Active", "discription": "get checked property from a dom element.", "keywords": "vegana,api,engine,binder,active" }