I'm searching for the element https://preview.keenthemes.com/metronic8/demo1/documentation/general/search.html for the Metronic 8 - Vue version.
The Vue version has an option with search, but the example is not correct for me. You have to click first on the icon to open the search module.
I want the same example for Vue on: https://preview.keenthemes.com/metronic8/demo1/documentation/general/search.html (Basic Layout Example).
Can you provide me the correct code?
Hi,
In Vue, we have the same ts component src/assets/ts/components/SearchComponent.ts, names of the attributes and functionality should be the same as described in the doc of HTML version.
Add attributes described in our doc and then initialize SearchComponent.
import { SearchComponent } from "@/assets/ts/components";
setup() {
onMounted(() => {
nextTick(() => {
SearchComponent.reinitialization();
});
});
},