When using @angular-skyhook, you follow this general pattern:

  1. Create a connection and specify its behaviour: Creating Connections
  2. Use directives or methods to connect it to real DOM elements: Connecting to DOM
  3. Use the connection's listen method to listen for relevant state changes, and respond to them: Monitoring State
  4. Remember to destroy the connection in ngOnDestroy(). Refer to part 1

result-matching ""

    No results matching ""