DirectiveSelector typedef
DirectiveSelector is a function which given a node it will return a list of DirectiveRefs which are triggered by this node.
DirectiveSelector is used by the Compiler during the template walking to extract the DirectiveRefs.
DirectiveSelector can be created using the directiveSelectorFactory method.
The DirectiveSelector supports CSS selectors which do not cross element boundaries only. The selectors can have any mix of element-name, class-names and attribute-names.
Examples:
element .class [attribute] [attribute=value] element[attribute1][attribute2=value]
typedef List<DirectiveRef> DirectiveSelector(dom.Node node);
typedef List<DirectiveRef> DirectiveSelector(Node node) #
typedef List<DirectiveRef> DirectiveSelector(dom.Node node);