Inline Dialog upgrade guide
This page is a guide to upgrading from the Inline Dialog 1 API to the new web component API.
Inline Dialog
Initialisation
Use the new markup API, which contains the Inline Dialog content. If you previously injected content into the Inline Dialog by passing in a URL or function, then set the content of the 
| Old API | New API | 
|---|---|
|  |  | 
Conversion Guide
The following tables provide a guide to converting usages of the old deprecated Inline Dialog API to the new web component API.
Methods
Use this table as a guide to upgrading Javascript functions available on the deprecated Inline Dialog object.
| I previously used... | I should now use... | 
|---|---|
| show(e, trigger) | openattribute | 
| hide() | openattribute | 
| refresh() | not supported - Dynamic content not currently supported | 
Options
Use this table as a guide to converting options passed into the deprecated Inline Dialog instantiation function.
| I previously used... | I should now use... | 
|---|---|
| onHover | responds-toattribute orrespondsToproperty | 
| closeOnTriggerClick | not supported - Dialog closes on trigger click by default | 
| noBind | not supported - Events are triggered natively on the | 
| fadeTime | not supported | 
| hideDelay | not supported | 
| showDelay | not supported | 
| width | The dialog will expand to fit the content, or use custom styles on the | 
| offsetX | alignmentattribute | 
| offsetY | alignmentattribute | 
| container | not supported | 
| cacheContent | not supported - Dynamic content not currently supported | 
| hideCallback | aui-hideevent | 
| initCallback | aui-showevent | 
| isRelativeToMouse | not supported | 
| closeOthers | not supported | 
| responseHandler | not supported - Dynamic content not currently supported | 
| onTop | alignmentattribute | 
| gravity | alignmentattribute | 
| useLiveEvents | not supported | 
| displayShadow | not supported - Shadows are always shown | 
| addActiveClass | not supported - Use the openattribute to determine whether the Inline Dialog is open or closed | 
| calculatePositions | not supported | 
| arrowOffsetX | alignmentattribute | 
| arrowOffsetY | alignmentattribute | 
| persistent | persistentattribute |