GithubHelp home page GithubHelp logo

webdevnerdstuff / vuetify3-resize-drawer Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 1.0 16.26 MB

The vuetify3-resize-drawer component extends the functionality of the v-navigation-drawer so that it is resizable by the user.

Home Page: https://webdevnerdstuff.github.io/vuetify3-resize-drawer/

License: MIT License

JavaScript 20.94% Shell 0.81% HTML 1.96% Vue 35.06% TypeScript 37.30% SCSS 3.93%
component javascript typescript vue vuetify3

vuetify3-resize-drawer's Introduction

Vuetify Logo

Vuetify 3 Resize Drawer (Depreciated)

NPM Package ย  @WebDevNerdStuff

Important Information

This repository and npm package has been depreciated and moved to the WebDevNerdStuff org @wdns.

You can find the new repository here:
https://github.com/webdevnerdstuff/vuetify-resize-drawer

You can find the new NPM package here:
https://www.npmjs.com/package/@wdns/vuetify-resize-drawer

Description

The vuetify-resize-drawer component extends the functionality of the v-navigation-drawer so that it is resizable by the user.

Change Log

CHANGELOG

License

Copyright (c) 2023 WebDevNerdStuff
Licensed under the MIT license.

Legal

Vuetify and the Vuetify logo are trademarks of Vuetify. This component was not created or endorsed by Vuetify.

vuetify3-resize-drawer's People

Contributors

webdevnerdstuff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

13168335674

vuetify3-resize-drawer's Issues

[Question]: How to access width?

Question description

I want to rerender some stuff in my application based on the new width of the resizable resized v-resize-drawer. But I can't seem to manage.

Steps to reproduce

I tried with adding a ref to v-resize-drawer:
<v-resize-drawer
ref="drawer"
:width="drawerWidth"
@handle:drag="handleDrag"
...

and added drawerWidth as a local prop

and then accessing it in a method:
handleDrag() {
const drawerElement = this.$refs.drawer.$el;
const newWidth = drawerElement.offsetWidth;
console.log('Drawer width:', newWidth);
// do something with the updated width
},

Relevant log output

No response

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Bug]: install fails

Bug description

npm i vuetify3-resize-drawer
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/vuetify3-resize-drawer - Not found
npm ERR! 404
npm ERR! 404  'vuetify3-resize-drawer@*' is not in this registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

Steps to reproduce

Install with npm

Relevant log output

No response

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.