top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Can you define multiple restrict options on a directive?

0 votes
379 views
Can you define multiple restrict options on a directive?
posted Oct 9, 2017 by Jayshree

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

You can also specify multiple restrict options to support more than one methods of directive invocation
as an element or an attribute. Make sure all are specified in the restrict keyword as:

restrict: 'EA'
answer Oct 9, 2017 by Shivaranjini
...