Download the PHP package slash2nl/nova-back-button without Composer
On this page you can find all versions of the php package slash2nl/nova-back-button. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package nova-back-button
Nova Back Button
Adds a card that implements a back button to Nova, the content can be fully customized. The url is called through the router and without a url set a history.go(-1) is called.
Installation
You can install the package in to a Laravel app that uses Nova via composer:
- Install version ^1.0 for Laravel Nova ^1.0|^2.0|^3.0
- Install version ^2.0 for Laravel Nova ^4.0
Usage
Options
- Set content, by default a back svg is used.
->html('<h1>Hello!</h1>')
: Set HTML or plain content.->markdown('# Hello!')
: Set Markdown content that will be converted into HTML.->view('path.to.view', [])
: Specify blade view file and optionally pass an array of data to view.
- Styling
->center(false)
: Center card's content.false
by default.->withoutCardStyles(true)
: Whether to use standard Nova Card styles for a card (background, padding, etc).false
by default.->forceFullWidth(true)
: Force the card to be full width. A fix for nova cards order.
Source
This package was created with the help of: https://github.com/InteractionDesignFoundation/nova-html-card
License
The MIT License (MIT). Please see License File for more information.
All versions of nova-back-button with dependencies
PHP Build Version
Package Version
The package slash2nl/nova-back-button contains the following files
Loading the files please wait ....