Sha256: d4b95517abe016d714a998fefc5285713d781c80f2335ce315d6033647d87504

Contents?: true

Size: 1.08 KB

Versions: 8

Compression:

Stored size: 1.08 KB

Contents

import {initButtons} from './button';
import {initDialogs} from './dialogs';
import {initDateTime} from './datetime';
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 {initSwitches} from './switches';

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
voom-presenters-0.1.13 views/mdc/assets/js/components/initialize.js
voom-presenters-0.1.12 views/mdc/assets/js/components/initialize.js
voom-presenters-0.1.11 views/mdc/assets/js/components/initialize.js
voom-presenters-0.1.10 views/mdc/assets/js/components/initialize.js
voom-presenters-0.1.9 views/mdc/assets/js/components/initialize.js
voom-presenters-0.1.8 views/mdc/assets/js/components/initialize.js
voom-presenters-0.1.7 views/mdc/assets/js/components/initialize.js
voom-presenters-0.1.6 views/mdc/assets/js/components/initialize.js