Comments (2)
If you would like to customize more than just the select-color
or drag-color
, you can customize the drag and select attributes like so:
<v-date-picker
mode='range'
v-model='myDate'
:drag-attribute='dragAttr'
:select-attribute='selectAttr'
is-inline>
</v-date-picker>
export default {
data() {
return {
myDate: null,
dragAttr: {
contentStyle: {
color: 'white',
},
highlight: {
height: '26px',
backgroundColor: 'blue',
opacity: 0.6
}
},
selectAttr: {
contentStyle: {
color: 'white',
},
highlight: {
backgroundColor: 'blue'
}
}
}
}
}
Here is a fiddle that might help you out. Apologies, this will be more documented when the new docs site rolls out in a few days.
Here is a link to the new docs site. It is still in work, but you can get some good info until I'm ready to publicly release.
from v-calendar.
I have a similar problem with datepicker styles and @nathanreyes code didn't work.
from v-calendar.
Related Issues (20)
- DatePicker - Can't change selection on view programatically HOT 2
- Custom time picker HOT 1
- The "use from cdn" example in the v3 version is wrong HOT 2
- Prevent popover from hiding after day selection before time selection HOT 2
- Module 'v-calendar' should export types from utils package HOT 1
- Vue warn]: Duplicate keys found during update using multiple dots with same date HOT 1
- When click same date text filed is getting null value
- need help i want to chage year in the title to buddhistYear how can i do it
- Component import broken in 2.4.2 HOT 2
- Deprecation Warning
- popover doesn't close when clicking in another date-picker HOT 1
- Slot content is not reactive when a day is clicked. HOT 9
- Tag v3 with `latest` tag HOT 1
- Degraded performance with vue 3.4.30 HOT 19
- TypeError: failed to format relative time HOT 3
- DatePicker displays as one long column half the time? HOT 1
- Update date-fns and date-fns-tz to v3
- how to delete prev button and next button?
- how to remove VCalendar next and prev button?
- v-calendar slot in range with nuxtjs dont work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v-calendar.