inline hints behaving weirdly (I think)
Newby. Javascript. My code: <document.createElement(canvas);> (text I type is in<..>) The inline hint "tagName:" appears in a grey rectangle in the editor. So I put the cursor at opening parens, type <ta>. Get a long list of possibilities, NONE of which is tagName:. So I type <tagName:>. This creates an error, and the hint does not go away.
Is this what's supposed to happen?
Thanks
请先登录再写评论。
tagNamehere is a parameter name; this method expects a tag name (like"div") to be passed as argument, likeSee https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement