JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://dev.sencha.com/deploy/ext-4.0.2a/resources/css/ext-all.css">
<html>
    <head>
        <title>ExtJS4 Test</title>
    </head>
    <body>
    </body>
</html>

JavaScript

// BLOG ExtJS 4 Download File Button
// http://whatisextjs.com/extjs-4-tutorial/extjs-4-download-file-button
//**************************//                        

Ext.onReady(function(){
    
    Ext.create('Ext.Window',{
        title: 'Popup File Download Button'
        , width: 200
        , height: 100
        , defaults: { margin: 5 }
        , items: [
            {
                xtype: 'button'
                , icon: 'http://whatisextjs.com/BAHO/icons/disk.png'
                , text: 'Download'
                , href: 'https://openui5.hana.ondemand.com/test-resources/sap/ui/demokit/explored/products.json'
                , target: '_blank' // removed in 4.1
                , hrefTarget: '_blank' // used in 4.1
            }
        ]
    }).show();
});