Recommend this page to a friend! |
Download |
Info | Documentation | Screenshots | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 37 | All time: 10,957 This week: 104 |
Version | License | PHP version | Categories | |||
nova-quick-view 1.0 | The PHP License | 5 | PHP 5, Libraries, Content management |
You can install the package in to a Laravel app that uses Nova via composer:
composer require php-junior/nova-quick-view
Add the following code :
public function fields(Request $request)
{
return [
...
NovaQuickView::make('Hello', function () {
return '<p>Hi, there!</p>';
})
->icon('el-icon-search')
->title('I am the title')
->direction('rtl') rtl / ltr / ttb / btt
...
];
}
If you need to render HTML content :
public function fields(Request $request)
{
return [
...
NovaQuickView::make('Hello', function () {
return view('partials.hello', [
'text' => 'Hi, there!'
])->render();
})
->icon('el-icon-search')
->title('I am the title')
->direction('rtl') // rtl / ltr / ttb / btt
...
];
}
Please check icon list from element.
If you want to use fontawesome or others, import CSS file in layout.blade.php
The MIT License (MIT). Please see License File for more information.
Screenshots (3) | ||
Files (18) |
File | Role | Description | ||
---|---|---|---|---|
.github (1 file) | ||||
dist (1 file, 2 directories) | ||||
resources (2 directories) | ||||
src (2 files) | ||||
composer.json | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
package.json | Data | Auxiliary data | ||
README.md | Doc. | Documentation | ||
webpack.mix.js | Data | Auxiliary data |
Files (18) | / | dist |
File | Role | Description | ||
---|---|---|---|---|
css (1 file) | ||||
js (1 file) | ||||
mix-manifest.json | Data | Auxiliary data |
Files (18) | / | resources | / | js |
File | Role | Description | ||
---|---|---|---|---|
components (1 file, 1 directory) | ||||
field.js | Data | Auxiliary data |
Files (18) | / | resources | / | js | / | components |
File | Role | Description | ||
---|---|---|---|---|
_partials (1 file) | ||||
IndexField.vue | Data | Auxiliary data |
Files (18) | / | resources | / | js | / | components | / | _partials |
File | Role | Description |
---|---|---|
Button.vue | Data | Auxiliary data |
Files (18) | / | src |
File | Role | Description |
---|---|---|
FieldServiceProvider.php | Class | Class source |
NovaQuickView.php | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.