-
Notifications
You must be signed in to change notification settings - Fork 7
Part Schema
David Ryan edited this page Jan 29, 2018
·
2 revisions
'part_id' => array(
'label' => 'Part Display Text Label'
'part' => '<# special_string_slug #>'
)
part slugs:
part
input
text
color
number
email
url
password
textarea
editor
select
multiselect
checkbox
toggle_switch
radio_buttons
media
include_partial
markdown
string used to inject into HTML attribute for <input>
and other fields
addl. string used to inject into HTML attribute for <input>
and other fields (text and color fields are both input type text)
string description shown with field
used to preset field to existing/new value
HTML classes used on vital part wrapper
HTML attributes looped onto attribute
Simple boolean indicating wither part stores data or not
A way to include additional markup before an option
A way to include addl markup after an option
An internal method set once update completes to report back to main class.