isViewletDelayedByDefault()

Overview

public boolean function isViewletDelayedByDefault(
      required string  viewlet     
    ,          boolean defaultValue = false
)

Accepts a viewlet and returns whether or not it should be 'delayed rendered' by default

Arguments

NameTypeRequiredDescription
viewletstringYesID of the viewlet
defaultValuebooleanNo (default=false)If the viewlet's handler does not specify any cacheable instruction, use this value