File tree Expand file tree Collapse file tree 1 file changed +88
-0
lines changed Expand file tree Collapse file tree 1 file changed +88
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,94 @@ public static function make($name, $label = '')
31
31
return $ field ->displayFile ()->clearText ()->noImageText ();
32
32
}
33
33
34
+ /**
35
+ * @param string $value
36
+ * @return $this
37
+ */
38
+ public function ajax ($ value )
39
+ {
40
+ $ this ->attributes ['ajax ' ] = $ value ;
41
+
42
+ return $ this ;
43
+ }
44
+
45
+ /**
46
+ * @param string $value
47
+ * @return $this
48
+ */
49
+ public function ajaxData ($ value )
50
+ {
51
+ $ this ->attributes ['ajaxData ' ] = $ value ;
52
+
53
+ return $ this ;
54
+ }
55
+
56
+ /**
57
+ * @param bool $value
58
+ * @return $this
59
+ */
60
+ public function dragDrop ($ value = true )
61
+ {
62
+ $ this ->attributes ['dragDrop ' ] = $ value ;
63
+
64
+ return $ this ;
65
+ }
66
+
67
+ /**
68
+ * @param string $value
69
+ * @return $this
70
+ */
71
+ public function dragDropText ($ value )
72
+ {
73
+ $ this ->attributes ['dragDropText ' ] = $ value ;
74
+
75
+ return $ this ;
76
+ }
77
+
78
+ /**
79
+ * @param string $value
80
+ * @return $this
81
+ */
82
+ public function fileReadText ($ value )
83
+ {
84
+ $ this ->attributes ['fileReadText ' ] = $ value ;
85
+
86
+ return $ this ;
87
+ }
88
+
89
+ /**
90
+ * @param string $value
91
+ * @return $this
92
+ */
93
+ public function noFileText ($ value )
94
+ {
95
+ $ this ->attributes ['noFileText ' ] = $ value ;
96
+
97
+ return $ this ;
98
+ }
99
+
100
+ /**
101
+ * @param string $value
102
+ * @return $this
103
+ */
104
+ public function processingText ($ value )
105
+ {
106
+ $ this ->attributes ['processingText ' ] = $ value ;
107
+
108
+ return $ this ;
109
+ }
110
+
111
+ /**
112
+ * @param string $value
113
+ * @return $this
114
+ */
115
+ public function uploadText ($ value )
116
+ {
117
+ $ this ->attributes ['uploadText ' ] = $ value ;
118
+
119
+ return $ this ;
120
+ }
121
+
34
122
/**
35
123
* Set editor instance for file upload.
36
124
*
You can’t perform that action at this time.
0 commit comments