File tree Expand file tree Collapse file tree 3 files changed +38
-0
lines changed
source/php/Component/Scope Expand file tree Collapse file tree 3 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace ComponentLibrary \Component \Scope ;
4+
5+ class Scope extends \ComponentLibrary \Component \BaseController
6+ {
7+ public function init () {
8+ if (!empty ($ this ->data ['name ' ])) {
9+ $ this ->data ['attributeList ' ]['data-scope ' ] = 's- ' . $ this ->data ['name ' ] ;
10+ }
11+ }
12+ }
Original file line number Diff line number Diff line change 1+ <{{ $componentElement } } class="{{ $class } } " {!! $attribute ! !} >
2+ {!! $slot ! !}
3+ </{{ $componentElement } } >
Original file line number Diff line number Diff line change 1+ {
2+ "slug" : " divider" ,
3+ "default" : {
4+ "componentElement" : " div" ,
5+ "name" : " "
6+ },
7+ "description" : {
8+ "componentElement" : " The tag to use for this component." ,
9+ "name" : " The name of the scope."
10+ },
11+ "types" :{
12+ "componentElement" : " string" ,
13+ "name" : " string"
14+ },
15+ "view" : " scope.blade.php" ,
16+ "dependency" : {
17+ "sass" : {
18+ "components" : [
19+ " scope"
20+ ]
21+ }
22+ }
23+ }
You can’t perform that action at this time.
0 commit comments