A search engine for MMP's eASLRB.
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.
 
 
 
 
 
asl-rulebook2/asl_rulebook2/webapp/static/NavPane.js

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 ) ;
},
},
} ) ;