Sha256: a4e121a5414acea9ed1b1e57ce48628dbf42ac97ab25dfd56464d3a7094f0dfc

Contents?: true

Size: 1014 Bytes

Versions: 2

Compression:

Stored size: 1014 Bytes

Contents

import {initButtons} from './button';
import {initDialogs} from './dialogs';
import {initTextFields} from './text-fields';
import {initEvents} from './events';
import {initLists} from './lists';
import {initIconToggles} from './icon-toggles';
import {initMenus} from './menus';
import {initSelects} from './selects';
import {initChips} from './chips';
import {initCards} from './cards';
import {initForms} from './forms';
import {initSnackbar} from './snackbar';
import {initCheckboxes} from './checkboxes';
import {initDateTime} from './date-time';

export function initialize(){
    console.log('Initializing');
    initButtons();
    initDialogs();
    initTextFields();
    initLists();
    initIconToggles();
    initMenus();
    initSelects();
    initChips();
    initCards();
    initForms();
    initSnackbar();
    initCheckboxes();
    initDateTime();
    // This needs to be last, because it relies on the components installed above.
    initEvents();
    // componentHandler.upgradeAllRegistered();
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
voom-presenters-0.1.1 views/mdc/assets/js/components/initialize.js
voom-presenters-0.1.0 views/mdc/assets/js/components/initialize.js