mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-23 17:13:44 +03:00
29 lines
510 B
TypeScript
29 lines
510 B
TypeScript
'use strict';
|
|
import { Component, ChangeDetectionStrategy, OnInit, HostBinding } from '@angular/core';
|
|
import { Marker } from '../../services/';
|
|
|
|
@Component({
|
|
selector: 'redoc-search',
|
|
styleUrls: ['./redoc-search.css'],
|
|
templateUrl: './redoc-search.html',
|
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
})
|
|
export class RedocSearch implements OnInit {
|
|
logo:any = {};
|
|
|
|
constructor(private marker: Marker) {
|
|
}
|
|
|
|
init() {
|
|
|
|
}
|
|
|
|
update(val) {
|
|
this.marker.mark(val);
|
|
}
|
|
|
|
ngOnInit() {
|
|
|
|
}
|
|
}
|