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 MyCustomSlideIn from '@/components/MyCustomSlideIn.vue';
this.$shell.slideIn.open(MyCustomSlideIn, {
title: 'Hello from SlideIn panel!'
});
For usage with the Composition API check usage guide here.
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
