Class: InfoBox

Cadcorp.UI.InfoBox

new InfoBox(config)

Displays arbitary information
Parameters:
Name Type Description
config Object Configuration for this object. The config supplied directly extends the control

Members

content

Properties:
Name Type Description
content Object | string The content to display

title

Properties:
Name Type Description
title string The title text for this dialog

Methods

destroy()

Destroy this info box

getUI() → {Object}

Gets the UI for this info box
Returns:
A jQuery object that contains this info box
Type
Object

hide()

Hide this info box

setContent(newContent)

Sets the content for this info box
Parameters:
Name Type Description
newContent Object | string A jQuery object or html string that contains the content

setTitle(newTitle)

Sets the title for this info box
Parameters:
Name Type Description
newTitle string The new title

show()

Show this info box