Coder Social home page Coder Social logo

Comments (4)

richardtallent avatar richardtallent commented on July 22, 2024

Hi Deb,

Good catch! The documentation is outdated. While there is still an optional url key for events, the only action taken by the calendar component in response to a URL value is to add the "hasUrl" class to the event, so events with links can be styled by the calling application appropriately (for example, the "default" theme underlines these on hover).

The calling application is responsible for "following" the link, by listening for the click-event event and responding as appropriate. Depending on the application, this "following" may involve a simple window.location change, opening a pop-up window, showing an in-page dialog or tab, having Vue Router push or replace an SPA route, etc. The sample application shows how to listen for clicks on an event.

Hope that helps! I'll leave this open to remind myself to update the docs.

from vue-simple-calendar.

debnath4u avatar debnath4u commented on July 22, 2024

Thanks for your quick reply!

I solved the issue by using HTML tag in title element.

Now I have one more issue, is it possible to make scroller to work for each day? Right now what I am seeing if I use scroll up/down its scrolling whore row instead of just that day.

Please let me know if its possible.

from vue-simple-calendar.

richardtallent avatar richardtallent commented on July 22, 2024

It's not possible to make the scroller different for each day. One of the key features of this component is support for events spreading across multiple days, so for the purposes of the events layout, the week is the parent, not the day.

from vue-simple-calendar.

richardtallent avatar richardtallent commented on July 22, 2024

Documentation regarding the url attribute has been updated for 3.0, which is about to launch... thanks!

from vue-simple-calendar.

Related Issues (20)

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.