[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [dita-lightweight-dita] Refactoring HDITA with custom tags
Hi Michael,
If you are talking about custom tags as in late-model W3C web components, a custom tag can be pretty lightweight, since the browser itself will support this capability (not sure if all major browsers turn them on by default yet). You don't have to load an external library necessarily. It needs a bit of _javascript_ that can be inside the HTML file itself. I'm not sure about performance, I'm sure it depends on what you're doing. Google's Polymer requires substantial external libraries and Polymer often gets confused with W3C web components because it's related, but I'm not talking about Polymer. I recall some info about Polymer having some performance problems but that was a year ago. This page gives a simple example of a W3C custom element with some CSS to style it. https://developer.mozilla.org/en-US/docs/Web/Web_Components/Custom_Elements Please excuse if I completely misunderstood your question! Mark Giffin Mark Giffin Consulting, Inc. http://markgiffin.com/ On 5/10/2016 12:47 PM, Michael Priestley wrote: How much freight does custom tags add to a displayable HTML page? Is there any impact on performance? |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]