Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-10345] Added applyProperties to UI Proxies #91

Merged
merged 1 commit into from Jun 12, 2013

Conversation

pec1985
Copy link
Contributor

@pec1985 pec1985 commented Jun 7, 2013

Test code

var win = Ti.UI.createWindow();

var label = Ti.UI.createLabel({
    left: 10,
    right: 10,
    text: 'Hello World!'
});

var btn = Ti.UI.createButton({
    bottom: 10,
    title: 'applyProperties'
});

win.add(label);
win.add(btn);

btn.addEventListener('click', function(){
    label.applyProperties({
        text: 'properties applied!',
        backgroundColor: 'red',
        top: 10
    })
});

win.open();

@joshthecoder
Copy link
Contributor

Code reviewed and tested. Accepted.

joshthecoder added a commit that referenced this pull request Jun 12, 2013
[TIMOB-10345] Added applyProperties to UI Proxies
@joshthecoder joshthecoder merged commit 7c723b1 into appcelerator-archive:master Jun 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants