معرفی شرکت ها


completable-html-xblock-1.2.2


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A custom HTML XBlock that can only be marked as completed by calling a custom completion endpoint.
ویژگی مقدار
سیستم عامل -
نام فایل completable-html-xblock-1.2.2
نام completable-html-xblock
نسخه کتابخانه 1.2.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده OpenCraft
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/open-craft/xblock-html-completable
آدرس اینترنتی https://pypi.org/project/completable-html-xblock/
مجوز AGPL v3
# HTML XBlock [![CircleCI](https://circleci.com/gh/open-craft/xblock-html-completable.svg?style=svg)](https://circleci.com/gh/open-craft/xblock-html-completable) A subclass of the new HTML XBlock that disables marking the block as completed and adds custom completion endpoint. ## Introduction This XBlock provides a newer alternative to the existing HTML XModule in edX platform as it presents a number of problems when trying to embed it in another site (in particular, it often hosts content that depends on JS globals like jQuery being present, and it allows users to include arbitrary JavaScript). ## Installation You may install XBlock-html-completable using its setup.py, or if you prefer to use pip, run: ```shell pip install https://github.com/open-craft/xblock-html-completable ``` You may specify the `-e` flag if you intend to develop on the repo. Note that as of version 1.0.0, Python 2.7 is no longer supported. The current minimum Python version is 3.8. To enable this block type, add `completable_html5` to course's advanced module list. ## Development If you're willing to develop on this repo, you need to be familiar with different technologies and the repos' dependencies. However, to make things easier to setup and to manage, there're bunch of make commands that you can use to do things faster. ## Usage To trigger the completion event, add the following code to your block: ```html <script> // Wait for the page to fully load. window.addEventListener('load', function () { document.getElementById('complete').click(); }); </script> ``` ### Setting the requirements up Hitting the following command will install in your python environment all the requirements you need for this project: ```shell $ make requirements ``` ### Running tests Tests are essential for this project to keep all its features working as expected. To check your changes you can use: ```shell $ make test ``` Or if you want to check the code quality only, hit: ```shell $ make quality ```


نیازمندی

مقدار نام
- html-xblock


زبان مورد نیاز

مقدار نام
>=3.8 Python


نحوه نصب


نصب پکیج whl completable-html-xblock-1.2.2:

    pip install completable-html-xblock-1.2.2.whl


نصب پکیج tar.gz completable-html-xblock-1.2.2:

    pip install completable-html-xblock-1.2.2.tar.gz