Remove filter #36

Closed
qfox opened this Issue Aug 23, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@qfox

qfox commented Aug 23, 2012

Or I'm just blind. How do you remove a filter once you set it through .attr({filters: new filter.DropShadow(1, 1, 2, 0x000000FF)})?

Tried null,"none",[]. None worked. Strings throw errors.

-- edit: tobi said there's a bug so I'm keeping this ticket

@basecode basecode closed this in c1c3e23 Aug 24, 2012

@basecode basecode reopened this Aug 24, 2012

@basecode

This comment has been minimized.

Show comment Hide comment
@basecode

basecode Aug 24, 2012

Member

A filter can be removed with the following signatures

  • .attr('filters', [])
  • .attr('filters', undefined)
  • .attr('filters', null)
Member

basecode commented Aug 24, 2012

A filter can be removed with the following signatures

  • .attr('filters', [])
  • .attr('filters', undefined)
  • .attr('filters', null)

@qfox qfox closed this Aug 24, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment