{"id":341760,"date":"2020-02-24T06:05:54","date_gmt":"2020-02-24T11:05:54","guid":{"rendered":"https:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/uncategorized\/progress-semantic-ui.php"},"modified":"2020-02-24T06:05:54","modified_gmt":"2020-02-24T11:05:54","slug":"progress-semantic-ui","status":"publish","type":"post","link":"https:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/progress\/progress-semantic-ui.php","title":{"rendered":"Progress | Semantic UI"},"content":{"rendered":"<p><p>An indicating progress bar visually indicates the current level of progress of a task<\/p>\n<p>A progress element can contain a bar visually indicating progress<\/p>\n<p>A progress bar can contain a text value indicating current progress<\/p>\n<p>A progress element can contain a label<\/p>\n<p>A progress bar can show activity<\/p>\n<p>A progress bar can show a success state<\/p>\n<p>Everything worked, your file is all ready.<\/p>\n<p>A progress bar can show a warning state<\/p>\n<p>Your file didn't meet the minimum resolution requirements.<\/p>\n<p>A progress bar can show an error state<\/p>\n<p>A progress bar can be disabled<\/p>\n<p>A progress bar can have its colors inverted<\/p>\n<p>A progress bar can show progress of an element<\/p>\n<p>A progress bar can vary in size<\/p>\n<p>        Some small sizes may not be able to fit an inlined label      <\/p>\n<p>Can have different colors:<\/p>\n<p>These colors can also be inverted for improved contrast on dark backgrounds<\/p>\n<p>A progress bar can be initialized with metadata<\/p>\n<p>        $('#example1').progress();      <\/p>\n<p>A progress bar can be initialized with a Javascript settings object<\/p>\n<p>        $('#example2').progress({          percent: 22        });      <\/p>\n<p>A progress bar can keep track of the current value as a ratio of a total value. This is useful for tracking the progress of a series of events with a known quantity, for example \"uploading 1 of 20\" photos.<\/p>\n<p>Each call to increment will increase the value by 1, or the value specified as the second parameter<\/p>\n<p>        $('#example3')          .progress('increment')        ;      <\/p>\n<p>        $('#example3')          .progress({            total: 3          })        ;      <\/p>\n<p>A progress bar can keep track of the current value as a ratio of a total value. This is useful for tracking the progress of a series of events with a known quantity, for example \"uploading 1 of 20\" photos.<\/p>\n<p>Each call to increment will increase the value by 1, or the value specified as the second parameter<\/p>\n<p>In addition you can pass in templates text for each state available to your progress bar which will automatically be updated when your progress bar reaches that state<\/p>\n<p>        $('#example4')          .progress('increment')        ;      <\/p>\n<p>You can pass in templates text for each state available to your progress bar which will automatically be updated when your progress bar reaches that state<\/p>\n<p>You can use label setting to change progress bar labels between two preset messages. In addition you can customize the messages themselves by specifying the templated text in text. Templated strings will replace three values on render<\/p>\n<p>        $('#example5')          .progress('increment')        ;      <\/p>\n<p>        $('#example5')          .progress({            text: {              active  : 'Adding {value} of {total} photos',              success : '{total} Photos Uploaded!'            }          })        ;      <\/p>\n<p>You can also adjust text labels to help strings appear translated<\/p>\n<p>        $('#example6')          .progress('increment')        ;      <\/p>\n<p>        $('#example6')          .progress({            label: 'ratio',            text: {              ratio: '{value} de {total}'            }          })        ;      <\/p>\n<p>All the following behaviors can be called using the syntax:<\/p>\n<p>    $('.your.element')      .progress('behavior name', argumentOne, argumentTwo)    ;    <\/p>\n<p>Progress bar will automatically poll for the last progress value after completing an animation, so that animation easing continues to work smoothly, even if update events occur much more frequently than UI updates.<\/p>\n<p>Waiting for you to press button<\/p>\n<p>        $('.rapid.example .ui.button')          .on('click', function() {            var              $progress       = $('.rapid.example .ui.progress'),              $button         = $(this),              updateEvent            ;            \/\/ restart to zero            clearInterval(window.fakeProgress)            $progress.progress('reset');            \/\/ updates every 10ms until complete            window.fakeProgress = setInterval(function() {              $progress.progress('increment');              $button.text( $progress.progress('get value') );              \/\/ stop incrementing when complete              if($progress.progress('is complete')) {                clearInterval(window.fakeProgress)              }            }, 10);          })        ;        $('.rapid.example .ui.progress')          .progress({            duration : 200,            total    : 200,            text     : {              active: '{value} of {total} done'            }          })        ;      <\/p>\n<p><!-- Auto Generated --><\/p>\n<p>More here: <\/p>\n<p><a target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\/\/semantic-ui.com\/modules\/progress.html\" title=\"Progress | Semantic UI\">Progress | Semantic UI<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p> An indicating progress bar visually indicates the current level of progress of a task A progress element can contain a bar visually indicating progress A progress bar can contain a text value indicating current progress A progress element can contain a label A progress bar can show activity A progress bar can show a success state Everything worked, your file is all ready. A progress bar can show a warning state Your file didn't meet the minimum resolution requirements <a href=\"https:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/progress\/progress-semantic-ui.php\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"limit_modified_date":"","last_modified_date":"","_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[431575],"tags":[],"class_list":["post-341760","post","type-post","status-publish","format-standard","hentry","category-progress"],"modified_by":null,"_links":{"self":[{"href":"https:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/wp-json\/wp\/v2\/posts\/341760"}],"collection":[{"href":"https:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/wp-json\/wp\/v2\/comments?post=341760"}],"version-history":[{"count":0,"href":"https:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/wp-json\/wp\/v2\/posts\/341760\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/wp-json\/wp\/v2\/media?parent=341760"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/wp-json\/wp\/v2\/categories?post=341760"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/wp-json\/wp\/v2\/tags?post=341760"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}