Interface ViewOptions

interface ViewOptions {
    arrays?: any;
    attributes?: any;
    element?: string;
    literal?: string;
    server?: boolean;
    serverOnly?: boolean;
    string?: string;
    tag?: string;
    unminified?: string;
}

Properties

arrays?: any
attributes?: any
element?: string

Deprecated

  • Use tag instead
literal?: string
server?: boolean
serverOnly?: boolean

If true, the view is only for use in server code, and Derby won't serialize the view for client code.

string?: string
tag?: string

Custom HTML tag name for the view, so it can be used like <my-box/> in addition to the standard <view is="my-box"/>.

unminified?: string