Skip to content

Dynamically create list dividers #348

Closed

Activity

  1. matiboy commented on Jan 3, 2014

    @matiboy

    Suggested solution in pull request #362
    Uses similar approach to ng-class. So you would set for example ng-repeat="item in yourList" item-type="{'item-divider':item.isDivider}"

  2. adamdbradley commented on Jan 13, 2014

    @adamdbradley
    ContributorAuthor

    Recommend using ng-class instead:

    ng-class="{'item-divider': item.isDivider}"
    
  3. thomasjonas commented on May 26, 2015

    @thomasjonas

    I have the feeling this is still not completely solved. Maybe it's just an edge case when using ion-list, ion-item and collection-repeat? I made a codepen to illustrate my problem: http://codepen.io/anon/pen/bdBWMG

    The problem is that dividers are not styled properly and their content is being wrapped by 'a' tags. It might have also something to do with the styling of the 'item-complex' class that has been added. It adds a padding to the item content which make the link's active state also not cover the whole item... Maybe I should open another issue for this...

  4. gslender commented on Jan 7, 2016

    @gslender

    +1 would love to see this resolve and/or at least opened again as it isn't 100% fixed

  5. locked and limited conversation to collaborators on Sep 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions