Full page content, fixes, cleaner settings
This commit is contained in:
@ -0,0 +1,11 @@
|
||||
|
||||
struct ModelViewer {
|
||||
|
||||
let file: String
|
||||
|
||||
let description: String
|
||||
|
||||
var content: String {
|
||||
"<model-viewer alt='\(description)' src='\(file)' ar shadow-intensity='1' camera-controls touch-action='pan-y'></model-viewer>"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user