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/SearchResult.js

23 lines
483 B

import { gMainApp } from "./MainApp.js" ;
// --------------------------------------------------------------------
export class IndexSearchResult {
constructor( key, content ) {
this.key = key ;
this.srType = "index" ;
this.content = content ;
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
gMainApp.component( "index-sr", {
props: [ "sr" ],
template: `
<div class="sr index-sr" v-html=sr.content />
`,
} ) ;