Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ekstra Field Description #161

Open
einste12 opened this issue May 2, 2020 · 0 comments
Open

Ekstra Field Description #161

einste12 opened this issue May 2, 2020 · 0 comments

Comments

@einste12
Copy link

einste12 commented May 2, 2020

Hello how to ı added ekstra field in boostrap poppover ?

`
$events = [];
$data = Takvim::all();

    if($data->count())
    {
        foreach ($data as $key => $value)
        {
            $events[] = Calendar::event(
                $value->title,
                true,
                new \DateTime($value->start_date),
                new \DateTime($value->end_date.'+1 day'),
                null,
                // Add color
                [
                    'color' => '#000000',
                    'textColor' => '#ffffff',
                    'locale'=>'tr',
                ]
            );


        }
    }
    $calendar = \Calendar::addEvents($events)
        ->setOptions([

        ])
        ->setCallbacks([
            'eventRender'=>'function (event, element) {
        element.attr(\'data-toggle\', "tooltip");
        element.attr(\'data-placement\', "top");
        element.attr(\'description\', event.description);}',
        ]);

`

http://prntscr.com/s9px2f not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant