Skip to content

throbber.lines、throbber.roundTimeがインジケータに反映されない #399

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

Closed
fukudayasuo opened this issue Aug 22, 2014 · 1 comment
Assignees
Labels
Milestone

Comments

@fukudayasuo
Copy link

スロバーの線の本数 (デフォルト:12)、スロバーの白線が1周するまでの時間(デフォルト1000ms)を以下のように設定してもインジケータに反映されず、デフォルトの設定が使用されている。

var i = h5.ui.indicator({
  target:document,
  throbber:{lines:3,roundTime:100}
}).show();

IE10(docmode8)で確認した。

@simdy simdy added this to the v1.1.13 milestone Aug 22, 2014
@simdy simdy added the bug label Aug 22, 2014
fukudayasuo pushed a commit to hifive-labs/hifivemain that referenced this issue Aug 22, 2014
lines:0を指定してインジケータを表示するケースを追加しました。
ソースコメントを修正しました
@fukudayasuo
Copy link
Author

修正後、スロバーの設定が反映されていることを目視で確認しました。
なお、スロバーの表示には以下のパターンがあり、roundTimeの設定が反映されるかどうかが異なります。
(反映されるはずのブラウザについて反映されることを確認しました)。

  • canvasを使用、CSS3アニメーションを使用(IE10+, Chrome, Firefox, Android, iOS)
    • この場合はroundTimeの設定は反映されません(cssで設定可能)
  • canvasを使用、CSS3アニメーション使用無し(IE9)
    • roundTimeの設定は反映されます
  • VMLを使用、CSS3アニメーション使用無し(IE8-)
    • roundTimeの設定は反映されます

@simdy simdy closed this as completed Aug 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants