-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
init.ts
25 lines (24 loc) · 856 Bytes
/
init.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import {defineElements} from '../../util/custom-element';
import {BodyContent} from './body-content';
import {ErrorHandler} from './error-handler';
import {ExternalFonts} from './external-fonts';
import {MarginalContent} from './marginal-content';
import {PageSkip} from './page-skip';
import {PageSkipIndicator} from './page-skip-indicator';
import {StateCssVariables} from './state-css-variables';
import {WarningList} from './warning-list';
/**
* Initializes custom elements related to display.
*/
export function initDisplayCustomElements() {
defineElements({
'body-content': BodyContent,
'error-handler': ErrorHandler,
'external-fonts': ExternalFonts,
'marginal-content': MarginalContent,
'page-skip': PageSkip,
'page-skip-indicator': PageSkipIndicator,
'state-css-variables': StateCssVariables,
'warning-list': WarningList
});
}