Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any ways to improve directive without complete re-write?
Message
 
 
General information
Forum:
AngularJS
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01652591
Message ID:
01652612
Views:
35
>Bit rusty on directives so may be missing something but I don't see what your problem is. Can you explain a bit more.
>Also don't know why transclude is true since there's no ng-transclude directive in the template ?

Right now this directive is a button (single input control). In run-time it's value becomes either 'Select Layout' or name of the selected layout.

I want to add to it a button to clear that selected layout and also there needs to be some sort of the control to launch the form to edit that selected layout (may be right click - not sure).

But I don't see a way of adding that extra control of clearing the layout as the template is currently a single button those value (text) is replaced in run-time.

Do you see my problem?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform