Information générale
Catégorie:
Codage, syntaxe et commandes
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement