mardi 4 décembre 2018

How to apply add Click event in laravel full calendar for particular event?

I am trying to apply click event on individual event once the user click on any event it should open a pop up or anything like that but i am not able to achieve this ,Any help would be much appreciated Thanks in advance, below is the code. `

@extends('layouts.app')
@include('layouts.navigations.profile')
@include('layouts.header')
@section('style')
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.2.7/fullcalendar.min.css"/>
@endsection
@section('content')
<div class="content-wrapper">
    <div class="container-fluid">
        <div class="row mt-4">
            <div class="col-md-12">
                <div class="card pd-card">
                    <div class="panel panel-default">
                        <div class="panel-heading"></div>
                        <div class="panel-body">
                            {!! $calendar->calendar() !!}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
@endsection

@section('script')
    <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.9.0/moment.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.2.7/fullcalendar.min.js"></script>
    {!! $calendar->script() !!}
@endsection
@section('script')
    <script>

    </script>
@endsection`



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire