-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add methods to make setting invalid overridable (#128)
- Loading branch information
1 parent
d0f6fad
commit b23ef79
Showing
4 changed files
with
59 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,19 @@ | ||
<!doctype html> | ||
|
||
<head> | ||
<link rel="import" href="../../polymer/polymer.html"> | ||
</head> | ||
<body> | ||
<script> | ||
window.dispatchChange = function(el) { | ||
const evt = new CustomEvent('change', {bubbles: true}); | ||
el.dispatchEvent(evt); | ||
}; | ||
|
||
window.nextRender = (element) => { | ||
return new Promise(resolve => { | ||
Polymer.RenderStatus.afterNextRender(element, resolve); | ||
}); | ||
}; | ||
</script> | ||
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters