Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any ways to improve directive without complete re-write?
Message
 
 
À
11/07/2017 07:33:18
Information générale
Forum:
AngularJS
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01652591
Message ID:
01652612
Vues:
37
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform