Skip to main content
Version: v3

SlideInApi

API for displaying Slide-In panels in Rancher UI

  • slidein Example

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?

SlideInConfig

Slide-In configuration object

Returns

void