Widget
in package
Basic widget for use in HTML.
Common Attributes:
title: component
class: additional class for input component
inline: Whether title and input are placed side by side or in separate line
explanation: explanation text in small font below input
cols: for radio and checkboxes, to arrange options in n cols
errormodel: variable for showing validation result message
exattr: explanation attributes, usually x-text or x-html for dynamic content
coattr: container attributes, usually id, :class or other alpine js attribute
Table of Contents
Methods
- autocomplete() : mixed
- card() : mixed
- checkbox() : mixed
- checkboxes() : mixed
- content() : mixed
- init() : mixed
- input() : mixed
- modal() : mixed
- pick() : mixed
- process_content() : mixed
- radio() : mixed
- rating() : mixed
- select() : mixed
- spinner() : mixed
- srselect() : mixed
- textarea() : mixed
- uploader() : mixed
Methods
autocomplete()
public
static autocomplete(mixed $node) : mixed
Parameters
- $node : mixed
card()
public
static card(mixed $node) : mixed
Parameters
- $node : mixed
checkbox()
public
static checkbox(mixed $node) : mixed
Parameters
- $node : mixed
checkboxes()
public
static checkboxes(mixed $node) : mixed
Parameters
- $node : mixed
content()
public
static content(mixed $node) : mixed
Parameters
- $node : mixed
init()
public
static init() : mixed
input()
public
static input(mixed $node) : mixed
Parameters
- $node : mixed
modal()
public
static modal(mixed $node) : mixed
Parameters
- $node : mixed
pick()
public
static pick(mixed $array, mixed $attrs) : mixed
Parameters
- $array : mixed
- $attrs : mixed
process_content()
public
static process_content(mixed $node) : mixed
Parameters
- $node : mixed
radio()
public
static radio(mixed $node) : mixed
Parameters
- $node : mixed
rating()
public
static rating(mixed $node) : mixed
Parameters
- $node : mixed
select()
public
static select(mixed $node) : mixed
Parameters
- $node : mixed
spinner()
public
static spinner(mixed $node) : mixed
Parameters
- $node : mixed
srselect()
public
static srselect(mixed $node) : mixed
Parameters
- $node : mixed
textarea()
public
static textarea(mixed $node) : mixed
Parameters
- $node : mixed
uploader()
public
static uploader(mixed $node) : mixed
Parameters
- $node : mixed