Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control what gets the state value #73

Open
custa1200 opened this issue Apr 1, 2016 · 1 comment
Open

Control what gets the state value #73

custa1200 opened this issue Apr 1, 2016 · 1 comment

Comments

@custa1200
Copy link

I would like to get a bit more control over which elements in the markup recieve the state values. This would help when building up elements of more than just a single element. and ensure the state value is applied exactly where I want. It would also help that each item of the states could have unique ID's in the page.

eg could be, not sure how the parsing would work though.

/**
  * @name Input Number (Keyboard)
  *
  * @description An input that shows a pure numeric keyboard on mobile devices.
  *
  * @state :hover - Hover
  * @state :focus - Focus
  * @state :disabled - Disabled
  *
  * @markup
  * <label for="input-password-@state" class="label">Input Number</label>
  * <input id="input-password-@state" class="input input--number @state" type="text" pattern="\d*" />
  */
@jameelmoses
Copy link

+1

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

No branches or pull requests

3 participants