Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/webroot/rsrc/js/application/projects/WorkboardHeaderTemplate.js
12242 views
1
/**
2
* @provides javelin-workboard-header-template
3
* @requires javelin-install
4
* @javelin
5
*/
6
7
JX.install('WorkboardHeaderTemplate', {
8
9
construct: function(header_key) {
10
this._headerKey = header_key;
11
},
12
13
properties: {
14
template: null,
15
order: null,
16
vector: null,
17
editProperties: null,
18
dropEffects: []
19
},
20
21
members: {
22
_headerKey: null,
23
_html: null,
24
25
getHeaderKey: function() {
26
return this._headerKey;
27
},
28
29
setNodeHTMLTemplate: function(html) {
30
this._html = html;
31
return this;
32
},
33
34
newNode: function() {
35
return JX.$H(this._html).getFragment().firstChild;
36
}
37
38
}
39
40
});
41
42