javascript - Use native node name for a Polymer custom element? -
I have a custom polymer element in which there is an array of items, they provide them in the form of a table. I have a custom Want to add element which handles the rendering of each row in the table, but the custom element is not allowed in HTML at that point where Permission: Not allowed: I have seen (like I present the whole table in a custom presentation or As a node name for a custom element, It worked for me: & lt; Tr & gt; will usually be added. / P>
& lt; Table & gt; & Lt; Tbody & gt; & Lt; TR & gt; & Lt; TD & gt; Example & lt; / TD & gt; & Lt; / TR & gt; & Lt; / Tbody & gt; & Lt; / Table & gt;
& lt; Table & gt; & Lt; Tbody & gt; & Lt; Custom line & gt; & Lt; TR & gt; & Lt; TD & gt; Example & lt; / TD & gt; & Lt; / TR & gt; & Lt; / Custom line & gt; & Lt; / Tbody & gt; & Lt; / Table & gt;
"custom-row"> ), but.
div s (
display: table ,
display: table-
,
display: table-cell , etc.) instead of table
& lt; Tr & gt; Is it possible to use ?
and lt; tr & gt; :
lt; Table & gt; & lt; tbody & gt; & lt; tr = "custom-tr" & gt; & lt; T & gt; Example & lt; / TD & gt; & lt; / tr & gt; ; & Lt; / tbody & gt; & lt; / table & gt;
Comments
Post a Comment