Giter Site home page Giter Site logo

Comments (2)

WebReflection avatar WebReflection commented on May 23, 2024

Other frameworks/library involved? Cause AFAIK your basic example is tested
and works pretty much everywhere, not sure I can do much in here
On Oct 17, 2015 10:38 PM, "Caleb Meredith" [email protected] wrote:

Even with some of the simplest components, I keep getting the following
error (paraphrase from Firefox console although it seems to happen in all
browsers):

TypeError: target.getAttribute is not a function
getTypeIndex() document-register-element.max.js:422
verifyAndSetupAndAction() document-register-element.max.js:520
loopAndVerify() document-register-element.max.js:397
onReadyStateChange() document-register-element.max.js:469

The following is a sample of my component:

let Star = document.registerElement('x-star', {
prototype: {
createdCallback() {
console.log('created')
},
attachedCallback() {
console.log('attached')
}
}
})


Reply to this email directly or view it on GitHub
#40.

from document-register-element.

WebReflection avatar WebReflection commented on May 23, 2024

this page works as expected: http://webreflection.github.io/document-register-element/test/examples/x-star.html

Bear in mind it's full of obtrusive frameworks out there, these might not play that well with polyfilled standards .

from document-register-element.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.