Welcome, Guest

Author Topic: Is Chromium updated soon?  (Read 441 times)


  • Posts: 1
    • View Profile
Is Chromium updated soon?
« on: April 18, 2018, 07:26:17 AM »
Thanks for the great technology. At the moment, I'm studying various approaches to developing the interface on Coherent. I'm looking at web components - in the case of Coherent, we have a single platform. I encountered a few unpleasant moments. One of them is access to <template> (HTML Templates) from the controller in the component itself. Your tutorial (https://coherent-labs.com/web-components/) has helped me a lot, but in it <template> is described in the main file. In order to place it separately, you have to use innerlHTML, which is quite uncomfortable.
Perhaps the current version of Chromium in Coherent does not support this. (https://caniuse.com/#search=components)
I understand that this is a small nuance, but it is important. )
Do you plan to update Chromium?
Could you have a quick answer for my case?


  • Administrator
  • *****
  • Posts: 76
    • View Profile
Re: Is Chromium updated soon?
« Reply #1 on: April 19, 2018, 03:33:43 AM »
Hey Syo,

Just a small clarification - our first-generation tech - Coherent Browser (initially named Coherent UI) was based on Chromium. Coherent GT, on the other hand, is powered by Webkit. Currently, Coherent GT 2.x covers the improvements in Webkit up to and including Safari Technical Preview 34 - https://webkit.org/blog/7760/release-notes-for-safari-technology-preview-34/.

The HTML <template> element itself is supported in Coherent GT. However, using a template from a document other than your main file requires that file to be imported via an HTML import. This functionality is not yet fully supported by Webkit (and, consequently, in GT) - https://webkit.org/status/#feature-html-imports.

That being said, we're still loading the external file as a resource if you use the <object data="myfile.html"> or <link rel="import" src="myfile.html"> statement in your main file. So, you could use our data-binding system templates as an alternative to the HTML templates - simply, define the template like this - <script type="text/html" data-bind-template-name="myTemplate"> and then, you can use that template anywhere in your main file via <div data-bind-template="myTemplate"></div>.

Hope this helps!

John V,
Support Engineer at Coherent Labs
« Last Edit: April 19, 2018, 03:55:37 AM by john.v »