Skip to content

Commit bcfeb93

Browse files
committed
examples.grid.bigData.ControlsContainer: remove the gh button again #6415
1 parent 884610d commit bcfeb93

1 file changed

Lines changed: 0 additions & 26 deletions

File tree

examples/grid/bigData/ControlsContainer.mjs

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,10 @@ class ControlsContainer extends Container {
3636
},
3737

3838
items: [{
39-
ntype: 'component',
40-
html : '<a class="github-button" href="https://github.com/neomjs/neo" data-size="large" data-show-count="true" aria-label="Star neomjs/neo on GitHub">Star</a>',
41-
style: {marginLeft: 'auto'}
42-
}, {
4339
labelText : 'Amount Rows',
4440
labelWidth: 120,
4541
listeners : {change: 'up.onAmountRowsChange'},
4642
store : ['1000', '5000', '10000', '20000', '50000'],
47-
style : {marginTop: '2em'},
4843
value : '1000',
4944
width : 200
5045
}, {
@@ -103,27 +98,6 @@ class ControlsContainer extends Container {
10398
return this.parent.getItem('grid')
10499
}
105100

106-
/**
107-
* Triggered after the mounted config got changed
108-
* @param {Boolean} value
109-
* @param {Boolean} oldValue
110-
* @protected
111-
*/
112-
afterSetMounted(value, oldValue) {
113-
super.afterSetMounted(value, oldValue);
114-
115-
if (value) {
116-
this.timeout(200).then(() => {
117-
Neo.main.DomAccess.addScript({
118-
async : true,
119-
defer : true,
120-
src : 'https://buttons.github.io/buttons.js',
121-
windowId: this.windowId
122-
})
123-
})
124-
}
125-
}
126-
127101
/**
128102
* @param {Object} data
129103
*/

0 commit comments

Comments
 (0)