File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
src/resources/views/sections/components Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 33 <x-docs::summary >
44 <x-docs::summary .header href =" #number-simple" label =" Number Simple" />
55
6+ <x-docs::summary .header href =" #number-options" label =" Number Options" />
7+
68 <x-docs::summary .header href =" #hold-directive" label =" Hold Directive" />
79
810 <x-docs::summary .header href =" #number-api" label =" Number API" />
3133 </x-slot >
3234 </x-docs::code .preview >
3335
36+ <x-docs::subtitle id =" number-options" title =" Number Options" />
37+
38+ <x-docs::text >
39+ The number input accepts the html number input attributes, such as <x-docs::mark >min</x-docs::mark >,
40+ <x-docs::mark >max</x-docs::mark >, and <x-docs::mark >step</x-docs::mark >. These attributes allow you to set the
41+ minimum and maximum values, as well as the step value for the number input.
42+ </x-docs::text >
43+
44+ <x-docs::code .preview language =" blade" >
45+ <x-slot name =" slot" class =" max-w-sm mx-auto" >
46+ @verbatim
47+ <x-number min =" 5" max =" 10" step =" 0.2" label =" How many Burgers?" value =" 6" />
48+ @endverbatim
49+ </x-slot >
50+ </x-docs::code .preview >
51+
3452 <x-docs::subtitle id =" hold-directive" title =" Hold Directive" />
3553
3654 <x-docs::text >
You can’t perform that action at this time.
0 commit comments