File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed
src/NotFound/Layout/Inputs Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace NotFound \Layout \Inputs ;
4+
5+ class LayoutInputNumber extends AbstractInput
6+ {
7+ protected string $ type = 'InputNumber ' ;
8+
9+ protected string $ value = '' ;
10+
11+ public function setMin (int $ min ): self
12+ {
13+ $ this ->properties ->minValue = $ min ;
14+
15+ return $ this ;
16+ }
17+
18+ public function setMax (int $ max ): self
19+ {
20+ $ this ->properties ->maxValue = $ max ;
21+
22+ return $ this ;
23+ }
24+ }
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace NotFound \Layout \Inputs ;
4+
5+ class LayoutInputSlider extends AbstractInput
6+ {
7+ protected string $ type = 'InputSlider ' ;
8+
9+ protected string $ value = '' ;
10+
11+ public function setMin (int $ min ): self
12+ {
13+ $ this ->properties ->minValue = $ min ;
14+
15+ return $ this ;
16+ }
17+
18+ public function setMax (int $ max ): self
19+ {
20+ $ this ->properties ->maxValue = $ max ;
21+
22+ return $ this ;
23+ }
24+ }
You can’t perform that action at this time.
0 commit comments