This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>>> Ext.define('Test.view.Explorer', { extend: 'Ext.panel.Panel', showProperties: true, title: 'Properties'}); | |
****** In this case, the String 'My Title' is copied to the object behind foo via Ext.applyIf, because that's what happens with passed config (second param to Ext.create) | |
>>>> var foo = Ext.create('Test.view.Explorer', {title: 'My Title'}); | |
>>>> foo.title; | |
"My Title" | |
>>>> var bar = Ext.create('Test.view.Explorer'); |