s-clerc / prepend-mixin

X-tag mixin which add elements to start.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

Using the prepend mixin you can prepend elements instead of appending them.

Usage

xtag.register("x-foo", {
  mixins: ["prepend"]
});
x-foo.prependChild(element);

About

X-tag mixin which add elements to start.

License:Apache License 2.0


Languages

Language:JavaScript 100.0%