PHP code example of outl1ne / nova-tooltip-field
1. Go to this page and download the library: Download outl1ne/nova-tooltip-field library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
outl1ne / nova-tooltip-field example snippets
use Outl1ne\NovaTooltipField\Tooltip;
public function fields(Request $request) {
Tooltip::make('Content', 'someValue')
->text('Text displayed as field value')
->content('Content displayed in tooltip'),
}