Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Add Toggle-switch component #80

Closed
ajoslin opened this issue Jul 9, 2014 · 2 comments
Closed

Add Toggle-switch component #80

ajoslin opened this issue Jul 9, 2014 · 2 comments
Milestone

Comments

@ajoslin
Copy link
Contributor

ajoslin commented Jul 9, 2014

Specification - Toggle Switches

image

@ThomasBurleson ThomasBurleson added this to the 0.0.3 milestone Aug 27, 2014
@ThomasBurleson ThomasBurleson changed the title feat(switch): add toggle switch Add Toggle-switch component Aug 27, 2014
@ThomasBurleson
Copy link
Contributor

@ajoslin - questions:

  • Is 32px the default spec width of this control ?
  • Is this we can adjustable via css or attributes ?

It appears that the .material-switch-bar has a width style... but since it is absolute, any changes does not adjust the total width of the <material-switch>.

FYI - If I try to set the width like: <material-switch style="width:200px"> layout problems occur.

@ajoslin
Copy link
Contributor Author

ajoslin commented Sep 11, 2014

I'm not seeing layout problems from setting the material-switch element's width?

32px is the spec-width of this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants