Skip to content
This repository has been archived by the owner on Jul 30, 2018. It is now read-only.

Add 'connected' event for custom elements #758

Merged
merged 1 commit into from
Nov 8, 2017
Merged

Conversation

agubler
Copy link
Member

@agubler agubler commented Nov 8, 2017

Type: feature

The following has been addressed in the PR:

  • There is a related issue
  • All code matches the style guide
  • Unit or Functional tests are included in the PR

Description:

Adds an event connected that is emitted once a custom element has connected.

myCustomElement.addEventListener('connected', function() {
    // do things once the element has connected
});

Resolves #754

@agubler agubler requested review from matt-gadd and kitsonk November 8, 2017 11:08
@agubler agubler merged commit 8f01755 into dojo:master Nov 8, 2017
@dylans dylans added this to the beta.4 milestone Jan 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants