1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 window.TestComponent = {
6 view: function(vnode) {
7 return m('div.mithril-test-component', [
9 onclick: m.withAttr('zzz', function(){}),
11 'mithril is working; rendered at t=',
12 (new Date()).getTime(),
13 'ms (click to re-render)',