Time Cockpit Blog

In HTML5 the new <svg> element was introduced. It allows you to embed SVG graphics in html. You can build really cool things with svg - from fancy looking interactive charts to games running in the browser. But what if you just want to draw a straight 1px line? Well, that's not that easy. I got lots of different results for different browsers.  Read more ...


HTML does not support tri-state checkboxes by default. There is an indeterminate attribute to indicate that the value is undefined but there is no way to set a checkbox back to indeterminate through the user interface once it has been checked or unchecked. The following sample shows how to build an AngularJS directive for a tri-state checkbox with TypeScript.  Read more ...