aboutsummaryrefslogtreecommitdiff
path: root/vfd-dashboard/src/main/scala/vfd/dashboard/Environment.scala
blob: d4dd30658235c3677fad2a7b240b3507e3977be6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package vfd.dashboard

import org.scalajs.dom.HTMLElement

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

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

}