You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
538 B
23 lines
538 B
import { gMainApp, gEventBus } from "./MainApp.js" ;
|
|
|
|
// --------------------------------------------------------------------
|
|
|
|
gMainApp.component( "nav-pane", {
|
|
|
|
template: `
|
|
<tabbed-pages>
|
|
<tabbed-page tabId="search" caption="Search" data-display="flex" >
|
|
<search-box id="search-box" @search=onSearch />
|
|
<search-results id="search-results" />
|
|
</tabbed-page>
|
|
</tabbed-pages>`,
|
|
|
|
methods: {
|
|
|
|
onSearch: (queryString) => {
|
|
gEventBus.emit( "search", queryString ) ;
|
|
},
|
|
|
|
},
|
|
|
|
} ) ;
|
|
|