These are chat archives for angular/angular-2-ionic-2

22nd
Jul 2017
yanxiaodi
@yanxiaodi
Jul 22 2017 02:22
@Carniatto Ionic use webpack to build. As far as I know, Ionic provides @ionic/app-scripts to simplify this process. So we don't need to spend too much time on the webpack.
texirv0203
@texirv0203
Jul 22 2017 15:40
  • I am new to angular 2 and kendo UI.
  • I am trying to add the upload button inside my pop up.
  • I was able to show the pop-up.
  • but when I add the upload button it's not showing.
  • when i target using .commonLink it shows but when i target using #win1 it does not show up
  • can you guys tell me how to fix it?
  • in the console, I don't see any errors too.
  • i am trying to display the pop up using the kendo ui. http://demos.telerik.com/kendo-ui/window/index
  • sample working code http://jsfiddle.net/XY7HT/53/

  • providing related code below and complete code in the fiddle since no space to paste it here https://jsfiddle.net/9bwdk6xk/3/

  <span class="commonLink" (click)="documentsClicked();">&nbsp;{{hat.docsCount}} Documents</span> | Last Modified: {{hat.dateUpdate}} &nbsp;&nbsp;<span class="fa fa-clock-o">9:00 am</span>
            </div>

            <div id="win1" style="display:none">
                <p>First Window</p>
                <button type="button" id="open2">Open second Window</button>
                    <input type="file" name="batchFile" id="batchFile" title="Select file" />

            </div>


documentsClicked(): void{
    console.log("documentsClicked");

    //var myWindow = $(".commonLink");

    //myWindow.kendoWindow({
    //var myWindow = $(".commonLink");
            //myWindow.kendoWindow({

    $("#win1").show().kendoWindow({
            width: "600px",
            water: "About Alvar Aalto",
            visible: false,
            actions: [
                "Pin",
                "Minimize",
                "Maximize",
                "Close"
            ],
            close: onClose
        }).data("kendoWindow").center().open();
}