<commit_before>m_require('app/views/tabs.js');
m_require('app/views/controls_page.js');
m_require('app/views/controls_toggle_view_page.js');

KitchenSink.ControlsToggleViewPage3 = M.PageView.design({
    
    childViews: 'header toggle content tabBar',

    header: M.ToolbarView.design({

        childViews: 'backButton title',

        backButton: M.ButtonView.design({

            value: 'Back',

            icon: 'arrow-l',

            anchorLocation: M.LEFT,

            target: KitchenSink.ControlsToggleViewController,

            action: 'here'

        }),

        title: M.LabelView.design({

            value: 'Toggle complex view',

            anchorLocation: M.CENTER
            
        }),
        
        anchorLocation: M.TOP

    }),


    toggle: M.ToggleView.design({

        childViews: 'content1 content2',

        content1: M.ScrollView.design({

            childViews: 'label textfield grid',

            label: M.LabelView.design({

               value: 'I am the label of the first view.'

            }),

            textfield: M.TextFieldView.design({

                isGrouped: NO<commit_msg>Added showroom for M.ToggleView<commit_after>m_require('app/views/tabs.js');
m_require('app/views/controls_page.js');
m_require('app/views/controls_toggle_view_page.js');

KitchenSink.ControlsToggleViewPage3 = M.PageView.design({
    
    childViews: 'header toggle content tabBar',

    header: M.ToolbarView.design({

        childViews: 'backButton title',

        backButton: M.ButtonView.design({

            value: 'Back',

            icon: 'arrow-l',

            anchorLocation: M.LEFT,

            target: KitchenSink.ControlsToggleViewController,

            action: 'here'

        }),

        title: M.LabelView.design({

            value: 'Toggle complex view',

            anchorLocation: M.CENTER
            
        }),
        
        anchorLocation: M.TOP

    }),

    toggle: M.ToggleView.design({

        childViews: 'content1 content2',

        content1: M.ScrollView.design({

            childViews: 'label textfield grid',

            label: M.LabelView.design({

               value: 'I am the label of the first view.'

            }),

            textfield: M.TextFieldView.design({

                isGrouped: NO,

                value: 'I am the textfield of the first view.'
{'fraction_non_alphanumeric': 0.11016949152542373, 'fraction_numerical': 0.003389830508474576, 'mean_word_length': 1.88984088127295, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3744862', 'n_tokens_mistral': 685, 'n_tokens_neox': 639, 'n_words': 137}