Skip to content

Commit

Permalink
allow creating custom directives (#49)
Browse files Browse the repository at this point in the history
* allow creating custom directives
  • Loading branch information
codeStryke committed Oct 14, 2019
1 parent 82283f5 commit dc5615b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mixins/lit-html-mixin.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { render, html } from '../../../lit-html/lit-html.js';
import { render, html, directive } from '../../../lit-html/lit-html.js';

import { asyncAppend } from '../../../lit-html/directives/async-append.js';
import { asyncReplace } from '../../../lit-html/directives/async-replace.js';
Expand All @@ -13,6 +13,7 @@ const directives = {
asyncAppend,
asyncReplace,
cache,
directive,
guard,
ifDefined,
repeat,
Expand Down

0 comments on commit dc5615b

Please sign in to comment.