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

support adding ios9 custom waves color #26

Merged
merged 1 commit into from Mar 1, 2019
Merged

Conversation

yujiaaoyujia
Copy link
Contributor

Adding ios9 custom waves color.
For example:

const siriWave = new SiriWave({
  container: document.getElementById('siriwave'),
  style: 'ios9',
  waveColors: [
    { color: '255, 255, 255', supportLine: true },
    { color: '255, 0, 0' },
    { color: '0, 255, 0' },
    { color: '0, 0, 255' }
  ]
})

Adding ios9 custom waves color.
For example:
```
const siriWave = new SiriWave({
  container: document.getElementById('siriwave'),
  style: 'ios9',
  waveColors: [
    { color: '255, 255, 255', supportLine: true },
    { color: '255, 0, 0' },
    { color: '0, 255, 0' },
    { color: '0, 0, 255' }
  ]
})
```
@kopiro kopiro merged commit 9a7578d into kopiro:master Mar 1, 2019
kopiro pushed a commit that referenced this pull request Mar 16, 2019
Adding ios9 custom waves color.
For example:
```
const siriWave = new SiriWave({
  container: document.getElementById('siriwave'),
  style: 'ios9',
  waveColors: [
    { color: '255, 255, 255', supportLine: true },
    { color: '255, 0, 0' },
    { color: '0, 255, 0' },
    { color: '0, 0, 255' }
  ]
})
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants