20259: Add documentation for banner and tooltip features
[arvados.git] / apps / workbench / app / assets / javascripts / components / test.js
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 window.TestComponent = {
6     view: function(vnode) {
7         return m('div.mithril-test-component', [
8             m('p', {
9                 onclick: m.withAttr('zzz', function(){}),
10             }, [
11                 'mithril is working; rendered at t=',
12                 (new Date()).getTime(),
13                 'ms (click to re-render)',
14             ]),
15         ])
16     },
17 }