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
483 B
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 />
|
|
`,
|
|
|
|
} ) ;
|
|
|