joeri-abbo/laravel-dashboard-buienradar-tile
Composer 安装命令:
composer require joeri-abbo/laravel-dashboard-buienradar-tile
包简介
Render buienradar tile on your dashboard
README 文档
README
This tile adds support to show buienradar widgets on your dashboard
This tile can be used on [the Laravel Dashboard](https://docs.spatie.be/laravel-dashboard).Installation
You can install the package via composer:
composer require joeri-abbo/laravel-dashboard-buienradar-tile
Usage
In your dashboard view you use the livewire:buienradar component.
There are 3 variants of the widget.
- The first one is global overview of the netherlands.
- the second one is a overview oth the netherlands with a overview of the predicted weather.
- And the third one supports a map with a focus point. Based on lng and lat it shows the map. Optinal parameter is zoom for the zoom value. This int is default set to 8
<x-dashboard> <livewire:buienradar position="a1" type="{{\JoeriAbbo\Buienradar\BuienradarServiceProvider::TYPE_IMAGE}}"/> <livewire:buienradar position="b1" type="{{\JoeriAbbo\Buienradar\BuienradarServiceProvider::TYPE_OVERVIEW}}"/> <livewire:buienradar position="c1" lat="51.84437" lng="4.16303" type="{{\JoeriAbbo\Buienradar\BuienradarServiceProvider::TYPE_MAP}}"/> </x-dashboard>
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-06-23
