aboutsummaryrefslogblamecommitdiff
path: root/vfd-dashboard/src/main/scala/vfd/dashboard/Environment.scala
blob: 57cd39d4d37b2af104c9ea42cefe6d6ec1d72561 (plain) (tree)
1
2
3
4
5
6
7
8
9
                     
 
                           




                                              
                        




                                                            
package vfd.dashboard

import org.scalajs.dom.html

/** Represents an application's environment */
trait Environment {
  
  /** The application's root element. */
  def root: html.Element

  /** Retrieve an asset's URL based on its file location. */
  def asset(file: String): String

}