Skip to content

@drawerly/vue / DrawerlyContainer

DrawerlyContainer

ts
const DrawerlyContainer: DefineComponent<ExtractPropTypes<{
  lockScroll: {
     default: boolean;
     type: BooleanConstructor;
  };
  modal: {
     default: boolean;
     type: BooleanConstructor;
  };
  teleportTo: {
     default: string;
     type: StringConstructor;
  };
}>, () => 
  | VNode<RendererNode, RendererElement, {
[key: string]: any;
}>
  | null, {
}, {
}, {
}, ComponentOptionsMixin, ComponentOptionsMixin, {
  all-closed: () => true;
  drawer-closed: (_payload) => true;
  drawer-opened: (_payload) => true;
}, string, PublicProps, ToResolvedProps<ExtractPropTypes<{
  lockScroll: {
     default: boolean;
     type: BooleanConstructor;
  };
  modal: {
     default: boolean;
     type: BooleanConstructor;
  };
  teleportTo: {
     default: string;
     type: StringConstructor;
  };
}>, {
  all-closed: () => true;
  drawer-closed: (_payload) => true;
  drawer-opened: (_payload) => true;
}>, {
  lockScroll: boolean;
  modal: boolean;
  teleportTo: string;
}, {
}, {
}, {
}, string, ComponentProvideOptions, true, {
}, any>;

Renders and animates the active drawer stack.

Released under the MIT License.