~caneypuggies/reformedchurcheslocator/couchapp-backbone

« back to all changes in this revision

Viewing changes to _attachments/js/vendor/backgrid/api/output/Backgrid.Extension.MomentCell.js

  • Committer: Tim Black
  • Date: 2013-09-16 22:50:16 UTC
  • Revision ID: tim@alwaysreformed.com-20130916225016-zk8jiba25z33ew7h
Versioned Bower vendor directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Ext.data.JsonP.Backgrid_Extension_MomentCell({
 
2
  "tagname": "class",
 
3
  "name": "Backgrid.Extension.MomentCell",
 
4
  "extends": "Backgrid.Cell",
 
5
  "mixins": [
 
6
 
 
7
  ],
 
8
  "alternateClassNames": [
 
9
 
 
10
  ],
 
11
  "aliases": {
 
12
  },
 
13
  "singleton": false,
 
14
  "requires": [
 
15
 
 
16
  ],
 
17
  "uses": [
 
18
 
 
19
  ],
 
20
  "enum": null,
 
21
  "override": null,
 
22
  "inheritable": null,
 
23
  "inheritdoc": null,
 
24
  "meta": {
 
25
  },
 
26
  "private": null,
 
27
  "id": "class-Backgrid.Extension.MomentCell",
 
28
  "members": {
 
29
    "cfg": [
 
30
 
 
31
    ],
 
32
    "property": [
 
33
      {
 
34
        "name": "className",
 
35
        "tagname": "property",
 
36
        "owner": "Backgrid.Extension.MomentCell",
 
37
        "meta": {
 
38
        },
 
39
        "id": "property-className"
 
40
      },
 
41
      {
 
42
        "name": "editor",
 
43
        "tagname": "property",
 
44
        "owner": "Backgrid.Cell",
 
45
        "meta": {
 
46
        },
 
47
        "id": "property-editor"
 
48
      },
 
49
      {
 
50
        "name": "events",
 
51
        "tagname": "property",
 
52
        "owner": "Backgrid.Cell",
 
53
        "meta": {
 
54
        },
 
55
        "id": "property-events"
 
56
      },
 
57
      {
 
58
        "name": "formatter",
 
59
        "tagname": "property",
 
60
        "owner": "Backgrid.Extension.MomentCell",
 
61
        "meta": {
 
62
        },
 
63
        "id": "property-formatter"
 
64
      },
 
65
      {
 
66
        "name": "tagName",
 
67
        "tagname": "property",
 
68
        "owner": "Backgrid.Cell",
 
69
        "meta": {
 
70
        },
 
71
        "id": "property-tagName"
 
72
      }
 
73
    ],
 
74
    "method": [
 
75
      {
 
76
        "name": "enterEditMode",
 
77
        "tagname": "method",
 
78
        "owner": "Backgrid.Cell",
 
79
        "meta": {
 
80
        },
 
81
        "id": "method-enterEditMode"
 
82
      },
 
83
      {
 
84
        "name": "exitEditMode",
 
85
        "tagname": "method",
 
86
        "owner": "Backgrid.Cell",
 
87
        "meta": {
 
88
        },
 
89
        "id": "method-exitEditMode"
 
90
      },
 
91
      {
 
92
        "name": "initialize",
 
93
        "tagname": "method",
 
94
        "owner": "Backgrid.Extension.MomentCell",
 
95
        "meta": {
 
96
        },
 
97
        "id": "method-initialize"
 
98
      },
 
99
      {
 
100
        "name": "remove",
 
101
        "tagname": "method",
 
102
        "owner": "Backgrid.Cell",
 
103
        "meta": {
 
104
          "chainable": true
 
105
        },
 
106
        "id": "method-remove"
 
107
      },
 
108
      {
 
109
        "name": "render",
 
110
        "tagname": "method",
 
111
        "owner": "Backgrid.Cell",
 
112
        "meta": {
 
113
          "chainable": true
 
114
        },
 
115
        "id": "method-render"
 
116
      },
 
117
      {
 
118
        "name": "renderError",
 
119
        "tagname": "method",
 
120
        "owner": "Backgrid.Cell",
 
121
        "meta": {
 
122
        },
 
123
        "id": "method-renderError"
 
124
      }
 
125
    ],
 
126
    "event": [
 
127
 
 
128
    ],
 
129
    "css_var": [
 
130
 
 
131
    ],
 
132
    "css_mixin": [
 
133
 
 
134
    ]
 
135
  },
 
136
  "linenr": 132,
 
137
  "files": [
 
138
    {
 
139
      "filename": "backgrid-moment-cell.js",
 
140
      "href": null
 
141
    }
 
142
  ],
 
143
  "html_meta": {
 
144
  },
 
145
  "statics": {
 
146
    "cfg": [
 
147
 
 
148
    ],
 
149
    "property": [
 
150
 
 
151
    ],
 
152
    "method": [
 
153
 
 
154
    ],
 
155
    "event": [
 
156
 
 
157
    ],
 
158
    "css_var": [
 
159
 
 
160
    ],
 
161
    "css_mixin": [
 
162
 
 
163
    ]
 
164
  },
 
165
  "component": false,
 
166
  "superclasses": [
 
167
    "Backbone.View",
 
168
    "Backgrid.Cell"
 
169
  ],
 
170
  "subclasses": [
 
171
 
 
172
  ],
 
173
  "mixedInto": [
 
174
 
 
175
  ],
 
176
  "parentMixins": [
 
177
 
 
178
  ],
 
179
  "html": "<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'>Backbone.View<div class='subclass '><a href='#!/api/Backgrid.Cell' rel='Backgrid.Cell' class='docClass'>Backgrid.Cell</a><div class='subclass '><strong>Backgrid.Extension.MomentCell</strong></div></div></div></pre><div class='doc-contents'><p>Renders a datetime cell that uses a <a href=\"#!/api/Backgrid.Extension.MomentFormatter\" rel=\"Backgrid.Extension.MomentFormatter\" class=\"docClass\">Backgrid.Extension.MomentFormatter</a> to\nconvert and validate values.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-property'>Properties</h3><div class='subsection'><div id='property-className' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Backgrid.Extension.MomentCell'>Backgrid.Extension.MomentCell</span><br/></div><a href='#!/api/Backgrid.Extension.MomentCell-property-className' class='name expandable'>className</a><span> : String</span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<p>Defaults to: <code>&quot;moment-cell&quot;</code></p></div></div></div><div id='property-editor' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Backgrid.Cell' rel='Backgrid.Cell' class='defined-in docClass'>Backgrid.Cell</a><br/></div><a href='#!/api/Backgrid.Cell-property-editor' class='name expandable'>editor</a><span> : <a href=\"#!/api/Backgrid.CellEditor\" rel=\"Backgrid.CellEditor\" class=\"docClass\">Backgrid.CellEditor</a></span></div><div class='description'><div class='short'>The\ndefault editor for all cell instances of this class. ...</div><div class='long'><p>The\ndefault editor for all cell instances of this class. This value must be a\nclass, it will be automatically instantiated upon entering edit mode.</p>\n\n<p>See <a href=\"#!/api/Backgrid.CellEditor\" rel=\"Backgrid.CellEditor\" class=\"docClass\">Backgrid.CellEditor</a></p>\n<p>Defaults to: <code>Backgrid.InputCellEditor</code></p></div></div></div><div id='property-events' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Backgrid.Cell' rel='Backgrid.Cell' class='defined-in docClass'>Backgrid.Cell</a><br/></div><a href='#!/api/Backgrid.Cell-property-events' class='name expandable'>events</a><span> : Object</span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<p>Defaults to: <code>{&quot;click&quot;: &quot;enterEditMode&quot;}</code></p></div></div></div><div id='property-formatter' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Backgrid.Extension.MomentCell'>Backgrid.Extension.MomentCell</span><br/></div><a href='#!/api/Backgrid.Extension.MomentCell-property-formatter' class='name expandable'>formatter</a><span> : <a href=\"#!/api/Backgrid.CellFormatter\" rel=\"Backgrid.CellFormatter\" class=\"docClass\">Backgrid.CellFormatter</a></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<p>Defaults to: <code>Backgrid.Extension.MomentFormatter</code></p><p>Overrides: <a href='#!/api/Backgrid.Cell-property-formatter' rel='Backgrid.Cell-property-formatter' class='docClass'>Backgrid.Cell.formatter</a></p></div></div></div><div id='property-tagName' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Backgrid.Cell' rel='Backgrid.Cell' class='defined-in docClass'>Backgrid.Cell</a><br/></div><a href='#!/api/Backgrid.Cell-property-tagName' class='name expandable'>tagName</a><span> : String</span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<p>Defaults to: <code>&quot;td&quot;</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-enterEditMode' class='member first-child inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Backgrid.Cell' rel='Backgrid.Cell' class='defined-in docClass'>Backgrid.Cell</a><br/></div><a href='#!/api/Backgrid.Cell-method-enterEditMode' class='name expandable'>enterEditMode</a>( <span class='pre'></span> )</div><div class='description'><div class='short'>If this column is editable, a new CellEditor instance is instantiated with\nits required parameters. ...</div><div class='long'><p>If this column is editable, a new CellEditor instance is instantiated with\nits required parameters. An <code>editor</code> CSS class is added to the cell upon\nentering edit mode.</p>\n\n<p>This method triggers a Backbone <code>backgrid:edit</code> event from the model when\nthe cell is entering edit mode and an editor instance has been constructed,\nbut before it is rendered and inserted into the DOM. The cell and the\nconstructed cell editor instance are sent as event parameters when this\nevent is triggered.</p>\n\n<p>When this cell has finished switching to edit mode, a Backbone\n<code>backgrid:editing</code> event is triggered from the model. The cell and the\nconstructed cell instance are also sent as parameters in the event.</p>\n\n<p>When the model triggers a <code>backgrid:error</code> event, it means the editor is\nunable to convert the current user input to an apprpriate value for the\nmodel's column, and an <code>error</code> CSS class is added to the cell accordingly.</p>\n</div></div></div><div id='method-exitEditMode' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Backgrid.Cell' rel='Backgrid.Cell' class='defined-in docClass'>Backgrid.Cell</a><br/></div><a href='#!/api/Backgrid.Cell-method-exitEditMode' class='name expandable'>exitEditMode</a>( <span class='pre'></span> )</div><div class='description'><div class='short'>Removes the editor and re-render in display mode. ...</div><div class='long'><p>Removes the editor and re-render in display mode.</p>\n</div></div></div><div id='method-initialize' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Backgrid.Extension.MomentCell'>Backgrid.Extension.MomentCell</span><br/></div><a href='#!/api/Backgrid.Extension.MomentCell-method-initialize' class='name expandable'>initialize</a>( <span class='pre'>options</span> )</div><div class='description'><div class='short'>Initializer. ...</div><div class='long'><p>Initializer. Accept <a href=\"#!/api/Backgrid.Extension.MomentFormatter-cfg-options\" rel=\"Backgrid.Extension.MomentFormatter-cfg-options\" class=\"docClass\">Backgrid.Extension.MomentFormatter.options</a> and\n<a href=\"#!/api/Backgrid.Cell-method-initialize\" rel=\"Backgrid.Cell-method-initialize\" class=\"docClass\">Backgrid.Cell.initialize</a> required parameters.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>options</span> : Object<div class='sub-desc'>\n</div></li></ul><p>Overrides: <a href='#!/api/Backgrid.Cell-method-initialize' rel='Backgrid.Cell-method-initialize' class='docClass'>Backgrid.Cell.initialize</a></p></div></div></div><div id='method-remove' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Backgrid.Cell' rel='Backgrid.Cell' class='defined-in docClass'>Backgrid.Cell</a><br/></div><a href='#!/api/Backgrid.Cell-method-remove' class='name expandable'>remove</a>( <span class='pre'></span> ) : <a href=\"#!/api/Backgrid.Cell\" rel=\"Backgrid.Cell\" class=\"docClass\">Backgrid.Cell</a><strong class='chainable signature' >chainable</strong></div><div class='description'><div class='short'>Clean up this cell. ...</div><div class='long'><p>Clean up this cell.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Backgrid.Cell\" rel=\"Backgrid.Cell\" class=\"docClass\">Backgrid.Cell</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-render' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Backgrid.Cell' rel='Backgrid.Cell' class='defined-in docClass'>Backgrid.Cell</a><br/></div><a href='#!/api/Backgrid.Cell-method-render' class='name expandable'>render</a>( <span class='pre'></span> ) : <a href=\"#!/api/Backgrid.Cell\" rel=\"Backgrid.Cell\" class=\"docClass\">Backgrid.Cell</a><strong class='chainable signature' >chainable</strong></div><div class='description'><div class='short'>Render a text string in a table cell. ...</div><div class='long'><p>Render a text string in a table cell. The text is converted from the\nmodel's raw value for this cell's column.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Backgrid.Cell\" rel=\"Backgrid.Cell\" class=\"docClass\">Backgrid.Cell</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-renderError' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Backgrid.Cell' rel='Backgrid.Cell' class='defined-in docClass'>Backgrid.Cell</a><br/></div><a href='#!/api/Backgrid.Cell-method-renderError' class='name expandable'>renderError</a>( <span class='pre'>model, column</span> )</div><div class='description'><div class='short'>Put an error CSS class on the table cell. ...</div><div class='long'><p>Put an <code>error</code> CSS class on the table cell.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>model</span> : Object<div class='sub-desc'>\n</div></li><li><span class='pre'>column</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div></div></div></div></div>"
 
180
});
 
 
b'\\ No newline at end of file'