SlideInApi
API for displaying Slide-In panels in Rancher UI
Methods
open()
open(component, config?): void;
Opens a slide in panel in Rancher UI
Example:
import { useShell } from '@shell/apis';
import MyCustomSlideIn from '@/components/MyCustomSlideIn.vue';
const shell = useShell();
shell.slideIn.open(MyCustomSlideIn, {
title: 'Hello from SlideIn panel!'
});
Parameters
component
Component
The Vue component to be displayed inside the slide in panel.
This can be any SFC (Single-File Component) imported and passed in as a Component.
config?
Slide-In configuration object
Returns
void
