javascript - Changing Image Instances on Dynamic Web Form -
i'm looking put dynamic web form where, when customer selects options series of radio buttons, additional items added main image.
think of if had photoshop layer , other layers above hidden or revealed dependent on customer's input on form.
so, 2 questions...
i assume should using javascript form. being beginner javascript, there way me tell change image based on multiple inputs selected customer? base image same looking hide/reveal multiple "overlays" on top of base image.
is react can handle or should looking @ angular?
thanks assistance question!
i can answer number 1 providing live example: http://codepen.io/zvona/pen/mvqwvx
it consists of 3 components, formcontrols, blocks , app. names quite self-explanatory , should code itself. there may minor mistakes in code since it's quite written on fly, should give insight on how can achieved react.
Comments
Post a Comment