Skip to content

Commit dcc1f44

Browse files
committed
[Samples]: Fixed sample code in widget theming.
1 parent ed94b49 commit dcc1f44

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

samples/widget-theming.html

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ <h1>Widget Theming</h1>
7878
<ins>var style = document.createElement('style');</ins>
7979
<ins>style.scoped = true;</ins>
8080
<ins>style.textContent = this.scopedStyleText;</ins>
81+
<ins>shadow.appendChild(style);</ins>
8182
var users = shadow.appendChild(document.createElement('ul'));
8283
this.loadUsers(MAX_USERS, function(user) {
8384
var li = document.createElement('li');

0 commit comments

Comments
 (0)