Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 11 2016 19:26

    Splaktar on master

    fix(toast): apply theming corre… perf(icon): better handling of … fix(list): copy ng-show, ng-hid… and 49 more (compare)

  • Jun 15 2016 16:14

    Splaktar on v1.1.0-rc.5

    release: version 1.1.0-rc.5 (compare)

  • May 14 2016 05:55

    Splaktar on master

    feat(panel): initial implementa… update(panel): promise logic im… update(panel): add and remove p… and 44 more (compare)

  • May 05 2016 20:47

    Splaktar on v1.1.0-rc4

    release: version 1.1.0-rc4 (compare)

  • May 05 2016 20:47

    Splaktar on v1.1.0-rc3

    release: version 1.1.0-rc3 (compare)

  • May 03 2016 22:28

    Splaktar on es6-tutorial

    Prepare clean start Remove bow… install angular-material And i… working version of starter-app and 19 more (compare)

  • May 03 2016 22:22

    Splaktar on master

    Tutorial Readme updates Updates for Tutorial #2 Update README with tutorial ste… and 56 more (compare)

  • May 01 2016 22:56

    Splaktar on fixBlurryRightNavIe11

    fix(sidenav): rightNav button a… (compare)

  • May 01 2016 22:37

    Splaktar on master

    fix(dialog): don't clobber md-d… update version number in packag… update(changelog): sort so 1.1.… and 1 more (compare)

  • May 01 2016 22:34

    Splaktar on fixSideNavDemo

    docs(sidenav): leftNav text isn… (compare)

  • Apr 27 2016 04:14

    Splaktar on fixSideNavDemo

    docs(sidenav): invalid `md-whit… (compare)

  • Apr 27 2016 03:54

    Splaktar on master

    update(changelog): add missing … fix(toolbar): remove transition… fix(tests): Cleans up the DOM a… and 2 more (compare)

  • Apr 23 2016 01:32

    Splaktar on master

    update(docs): improve docs for … update(docs): renamed `md-text-… fix(list): clickable list-items… and 71 more (compare)

  • Apr 11 2016 03:20

    Splaktar on improveExtendThemeDoc

    update(docs): improve docs for … (compare)

  • Apr 11 2016 03:15

    Splaktar on improveExtendThemeDocs

    update(docs): improve docs for … (compare)

  • Apr 11 2016 02:57

    Splaktar on updateThemingDocs

    update(docs): renamed `md-text-… (compare)

  • Apr 11 2016 02:48

    Splaktar on master

    fix(demo, codepen): use secure … fix(build, layout): remove depr… update(build): remove stale bow… and 72 more (compare)

  • Apr 11 2016 02:48

    Splaktar on v1.1.0-rc2

    release: version 1.1.0-rc2 (compare)

  • Mar 19 2016 03:00

    Splaktar on master

    fix(checkbox): pointer events d… update(tests): remove disabled/… fix(datepicker): enable scrolli… and 20 more (compare)

  • Mar 13 2016 05:41

    Splaktar on v1.0.6

    Revert "fix(select): made selec… update(layout): add layout-nowr… fix(whiteframe): update breakpo… and 57 more (compare)

Tim
@4tron
any console errors?
sunny
@sunnynegi
no
Tim
@4tron
This message was deleted
$scope.toastPosition = angular.extend({},last);
    $scope.getToastPosition = function() {
    return Object.keys($scope.toastPosition)
      .filter(function(pos) { return $scope.toastPosition[pos]; })
      .join(' ');
    };
    $mdToast.show(
      $mdToast.simple()
        .content('Simple Toast!')
        .position($scope.getToastPosition())
        .hideDelay(3000)
    );
just want to look at it a bit better
sunny
@sunnynegi
after changing the material version it's stop working
Tim
@4tron
you say "changing" like you have a previous implementation?
sunny
@sunnynegi
yes
Tim
@4tron
where is the code for the actual click event?
or is it onload?
sunny
@sunnynegi
no
on success result of api
but it's not working
Tim
@4tron
yeah maybe write up a plnkr or codepen on the code you currently have , its super hard to tell what might be the problem here. Take out the pos unless you are passing a pos param through for the position
sunny
@sunnynegi
ok let me check
Al Pagan
@wayfarerboy
I got stuck on this one yesterday. Try changing. `content
Sorry, pressed enter by accident
@sunnynegi Try changing .content('Simple toast') to .textContent('Simple toast')
sunny
@sunnynegi
ok let me check
undefined is not a function
not work
Al Pagan
@wayfarerboy
D'oh. Sorry, that api change caught me out yesterday so I presumed it was the same problem.
sunny
@sunnynegi
np :)
avs2001
@avs2001
hello there
I tried ngmaterial a while ago and I had problems with memory leak
It is someone who routinely uses?
Johannes Pichler
@joeherold
@avs2001 what kind of? detached dom tree elements?
angular1 + angularmaterial is what made me switch to angular2… :smile:
Steven Weingärtner
@eXaminator
Hey, how would I go about if I wanted to check out the current angular 1.5 betas in my current angular material app? I use NPM to manage dependencies and it seems the peerDependencies in angular material seem pretty strict and won't let me install angular 1.5 beta. Any help would be appreciated!
Felix Becker
@felixfbecker
@eXaminator related: #5906
Steven Weingärtner
@eXaminator
@felixfbecker Thanks for the link!
Brett Nimphius
@itsastute
Is angular the best framework for MDL?
Ed Pelc
@epelc
elad you here?
Elad Bezalel
@EladBezalel
i am now
Ed Pelc
@epelc
good
I found out why .toUpperCase() fixes it
Elad Bezalel
@EladBezalel
why?
Ed Pelc
@epelc
It's essentially removing this angular/material@f62f693 if you switch it to .toUpperCase() !== 'md-content'
that commit broke tooltips for a lot of people to fix his usecase with the sidenavs
Elad Bezalel
@EladBezalel
'elad'.toUpperCase() is 'ELAD'
oh so your'e saying that we need to use toUpperCase in there also
Ed Pelc
@epelc
but 'md-content'.toUpperCase() !== 'md-content' so it effectivly gets rid of the the !== check added above which broke things for everyone
I think we need to reverse that commit only check that it !== 'MD-CONTENT' if a sidenav is open
This is where it also broke tooltips for several other people https://github.com/angular/material/pull/5161#issuecomment-149153559
Elad Bezalel
@EladBezalel
i can't understand why 'md-content'.toUpperCase() !== 'MD-CONTENT' is not good..
Ed Pelc
@epelc
it makes that loop stop at the root html element instead of md-content
the old behavior was it stopped at md-content which worked for 99% of people. But I guess it was broken with sidenavs open so @kasiarachwal added that fix which broke it for the 99% usecase
Elad Bezalel
@EladBezalel
so we need to just remove this check?
Ed Pelc
@epelc
while (current && current !== $rootElement[0] && current !== document.body && current.nodeName !== 'MD-CONTENT') { just makes it so it doesn't stop at md-content. I though .toUpperCase() would make it work for both but it doesn't
yes