mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-24 18:10:11 +00:00
20 lines
270 B
JavaScript
20 lines
270 B
JavaScript
![]() |
import Ember from 'ember';
|
||
|
const {
|
||
|
get,
|
||
|
Component
|
||
|
} = Ember;
|
||
|
|
||
|
export default Component.extend({
|
||
|
tagName: 'form',
|
||
|
|
||
|
elementId: 'global-search-form',
|
||
|
|
||
|
search: '',
|
||
|
|
||
|
actions: {
|
||
|
search() {
|
||
|
this.sendAction('didSearch', get(this, 'search'));
|
||
|
}
|
||
|
}
|
||
|
});
|