UNPKG

vegana

Version:

vegana is a container based js framework

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