You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/js/samples/css-shadow-dom-keyframes/expected.js

48 lines
970 B

/* generated by Svelte vX.Y.Z */
import {
SvelteComponent,
append_styles,
attr,
create_custom_element,
detach,
element,
init,
insert,
noop,
safe_not_equal
} from "svelte/internal";
function add_css(target) {
append_styles(target, "svelte-10axo0s", "div.svelte-10axo0s{animation:svelte-10axo0s-foo 1s}@keyframes svelte-10axo0s-foo{0%{opacity:0}100%{opacity:1}}");
}
function create_fragment(ctx) {
let div;
return {
c() {
div = element("div");
div.textContent = "fades in";
attr(div, "class", "svelte-10axo0s");
},
m(target, anchor) {
insert(target, div, anchor);
},
p: noop,
i: noop,
o: noop,
d(detaching) {
if (detaching) detach(div);
}
};
}
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, null, create_fragment, safe_not_equal, {}, add_css);
}
}
customElements.define("custom-element", create_custom_element(Component, {}, [], [], true));
export default Component;