Navigation

    Monaca & Onsen UI
    • Login
    • Search
    • Tags
    • Users
    • Blog
    • Playground
    1. Home
    2. wima
    W
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    wima

    @wima

    0
    Reputation
    3
    Posts
    397
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    wima Follow

    Posts made by wima

    • binding to label in ons-tab does not work

      Hi
      see https://stackblitz.com/edit/angular-3qktum?file=src/app/app.component.html
      do you know, why the binding to the label in line 5 of app.component.html does not work?
      I also tried label="{{ tab }}", but it doesn’t work.
      Thank you

      posted in Onsen UI
      W
      wima
    • RE: Sample for createPopover with Angular 2+

      what a great community here!

      posted in Onsen UI
      W
      wima
    • Sample for createPopover with Angular 2+

      Hi
      Can anyone please post a sample for creating a popover in angular 2?
      I don’t know, how it works with templates and reference it within the createPopover method.
      in my.component.html I have this:

      <ons-page>
      <ons-button (click)="myClick()">Test</ons-button>
      </ons-page>
      <template id="popover.html">
        <ons-popover #popover>
          This popover is defined as a template.
        </ons-popover>
      </template>
      

      and in my.component.ts I have this:

        public myClick() {
          ons.createPopover('popover.html')/*.then(function(popover) {
            alert(popover);
          })*/;
        }
      

      I get errors like
      ERROR Error: Uncaught (in promise): TypeError: Cannot read property ‘remove’ of undefined

      Thank you

      posted in Onsen UI
      W
      wima