javascript - angular morphing current view -


say have 2 custom elements <card1> , <card2> independent of each other meaning can create arbitrary amount of each , each of them have different models.

what want when action happens in <card1> creates <card2> within <card1> (preferably animation) or morphs <card1> <card2>. dont want have predefine <card2> within <card1> , hide until interaction happens. because want scalable if decide create card3 or card4 , have them appear based on interaction

what best way structure view, controller, template, ...?


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -