Hi@all,

I would like to achieve the following but dont know what is the best way to 
go to achieve it with angular 2/4:

- Given a stack of HTML5Canvas elements which allows the user to watch/draw 
multiple layers (the stacking is similar to Photoshop and allows 
transparent background to see the layer underneath, etc.)
- Given several tasks (task:= a canvas stack, each canvas layer has its 
¨data streamer¨ which can be either In/Output)

I would like to show settings (mainly form elements) and tools 
(manipulation) of the canvas layer (including the settings of the) 
data-streamer, depending on which layer is currently on top of the canvas. 
What is already there is a CanvasLayer class that holds a wrapper around a 
HTMLCanvasElement, it holds a streamer (I/O) and  some (yet unspecified) 
reference to a list of components which are associated. What is pretty 
unclear to me is how a good architecture in angular for showing components 
based on an active data-item would look like. Of course, the component 
needs to have access to the streamer. If possible, I would like to keep it 
as general as possible and avoid ngIf and other hardcoded things in the 
main container (which holds the menus)

Thank you very much!

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to