Comments (3)
Hello, Did you find any solution ??
from livewire-calendar.
I find a solution.
in the blade you can do this:
<div>
<div id="calendar-container">
<div id="external-events" class="basis-20 box-border rounded-lg border-2 shadow-md cursor-pointer">
<div class="flex flex-row">
@if ($calendarevents->count() > 0)
@foreach ($calendarevents as $calendarevent)
<div class="basis-20 box-border rounded-lg border-2 shadow-md cursor-pointer" draggable="true"
ondragstart="onLivewireCalendarEventDragStart(event, 'C{{ $calendarevent->id }}')"
style="background-color:{{ $calendarevent->backgroundColor }};border-color:{{ $calendarevent-
>isBlocked ? '#000000' : $calendarevent->backgroundColor }};">
<p class="text-sm font-medium">
{{ $calendarevent->title }}
</p>
<p class="mt-2 text-xs>">
{{ $calendarevent->description }}
</p>
</div>
@endforeach
@else
<strong>You need to create a User Calendar/strong>
@endif
</div>
</div>
<div id="calendar" class="basis-20 box-border rounded-lg border-2 shadow-md cursor-pointer">
<livewire:event-grid-component week-starts-at="1" before-calendar-view="livewire.events.before" />
</div>
</div>
</div>
from livewire-calendar.
from livewire-calendar.
Related Issues (20)
- Time complexity problem
- another method on calendar HOT 1
- Not work in php 8 HOT 3
- Could not install it on Laravel 9 HOT 32
- Any way we can pass events or model to the component ? HOT 5
- Ability to use $queryString HOT 1
- Class "Asantibanez\LivewireCalendar\LivewireCalendar" not found HOT 1
- Ability to add an event occurring in multiples dates? HOT 4
- Click event for edit an unschedules event does not work but works inside the calendar... HOT 1
- Installation error HOT 5
- Week view HOT 2
- add languages HOT 3
- Class "Asantibanez\LivewireCalendar\LivewireCalendar" not found HOT 2
- No interaction with calendar HOT 1
- We are actively maintaining a newer version of this package. HOT 2
- [App\Http\Livewire\AppointmentsCalendar] does not implement [LivewireUI\Modal\Contracts\ModalComponent] interface. HOT 1
- > Rather than forking it yourself, you may as well take advantage of someone else's fixed fork. HOT 1
- livewire 3 HOT 7
- Support for Laravel 11 and PHP 8.3 HOT 2
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 livewire-calendar.