This repository was archived by the owner on Sep 26, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +48
-17
lines changed
svelte-materialify/src/components/Overlay Expand file tree Collapse file tree 3 files changed +48
-17
lines changed Original file line number Diff line number Diff line change 22 "version" : 3 ,
33 "name" : " Overlay" ,
44 "data" : [
5+ {
6+ "visibility" : " public" ,
7+ "description" : null ,
8+ "keywords" : [],
9+ "name" : " transition" ,
10+ "kind" : " let" ,
11+ "static" : false ,
12+ "readonly" : false ,
13+ "type" : {
14+ "kind" : " type" ,
15+ "text" : " any" ,
16+ "type" : " any"
17+ }
18+ },
19+ {
20+ "visibility" : " public" ,
21+ "description" : null ,
22+ "keywords" : [],
23+ "name" : " inOpts" ,
24+ "kind" : " let" ,
25+ "static" : false ,
26+ "readonly" : false ,
27+ "type" : {
28+ "kind" : " type" ,
29+ "text" : " any" ,
30+ "type" : " any"
31+ }
32+ },
33+ {
34+ "visibility" : " public" ,
35+ "description" : null ,
36+ "keywords" : [],
37+ "name" : " outOpts" ,
38+ "kind" : " let" ,
39+ "static" : false ,
40+ "readonly" : false ,
41+ "type" : {
42+ "kind" : " type" ,
43+ "text" : " any" ,
44+ "type" : " any"
45+ }
46+ },
547 {
648 "visibility" : " public" ,
749 "description" : null ,
77119 },
78120 "defaultValue" : false
79121 },
80- {
81- "visibility" : " public" ,
82- "description" : null ,
83- "keywords" : [],
84- "name" : " fadeOptions" ,
85- "kind" : " let" ,
86- "static" : false ,
87- "readonly" : false ,
88- "type" : {
89- "kind" : " type" ,
90- "text" : " any" ,
91- "type" : " any"
92- }
93- },
94122 {
95123 "visibility" : " public" ,
96124 "description" : null ,
Original file line number Diff line number Diff line change 33 import BackgroundColor from ' ../../internal/BackgroundColor' ;
44
55 let klass = ' ' ;
6+ export let transition = fade;
7+ export let inOpts = { duration: 250 };
8+ export let outOpts = { duration: 250 };
69 export let active = true ;
710 export let opacity = 0.46 ;
811 export let color = ' rgb(33, 33, 33)' ;
912 export let index = 5 ;
1013 export let absolute = false ;
11- export let fadeOptions = {};
1214 export let style = ' ' ;
1315 export { klass as class };
1416 </script >
1820
1921{#if active }
2022 <div
21- transition:fade ={fadeOptions }
23+ in:transition ={inOpts }
24+ out:transition ={outOpts }
2225 class ="s-overlay {klass }"
2326 class:absolute
2427 on:click
You can’t perform that action at this time.
0 commit comments