In package com.eden.orchid.api.theme.assets

class com.eden.orchid.api.theme.assets.JsPage

Constructors

constructor(source: Any, sourceKey: String, resource: OrchidResource, key: String, title: String)
Parameters:
  • source: Any
  • sourceKey: String
  • resource: OrchidResource
  • key: String
  • title: String

Methods

fun isDefer(): Boolean
Parameters:
  • No parameters
fun setAsync(async: Boolean)
Parameters:
  • async: Boolean
fun setDefer(defer: Boolean)
Parameters:
  • defer: Boolean
fun isAsync(): Boolean
Parameters:
  • No parameters
fun renderAssetToPage(): String
Parameters:
  • No parameters