Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any ways to improve directive without complete re-write?
Message
De
12/07/2017 03:14:27
 
 
Information générale
Forum:
AngularJS
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01652591
Message ID:
01652621
Vues:
44
>>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?

Sorry, no. Why can't you add another button to the template?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform