• Overview
@angular/core/globals

getDirectives

function

Retrieves directive instances associated with a given DOM node. Does not include component instances.

  
    function getDirectives(  node: Node): {}[];
  
  

getDirectives

{}[]

Retrieves directive instances associated with a given DOM node. Does not include component instances.

@paramnodeNode

DOM node for which to get the directives.

@returns{}[]
Jump to details