Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sd-doc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Skripnikov
sd-doc
Commits
adb86783
Commit
adb86783
authored
Oct 31, 2017
by
Valentin Skripnikov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-
parent
5e5d332d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
docs/forms/utils.rst
docs/forms/utils.rst
+31
-0
No files found.
docs/forms/utils.rst
View file @
adb86783
...
...
@@ -82,3 +82,34 @@ AS.FORMS.ASFDataUtils
:param object model: Модель компонента :js:class:`AS.FORMS.Model`
:returns: ``boolean``
AS.FORMS.ComponentUtils
~~~~~~~~~~~~~~~~~~~~~~~
.. js:class:: AS.FORMS.ComponentUtils
Утилиты для работы с компонентами
.. js:function:: createModel(asfProperty, playerModel)
Создать модель компонента
:param object asfProperty: Определение компонента :js:data:`.asfProperty`
:param object playerModel: Модель экземпляра проигрывателя
:returns: :js:class:`AS.FORMS.Model`
.. js:function:: createView(model, playerView, editable)
Создать отображение компонента
:param object model: Модель компонента :js:class:`AS.FORMS.Model`
:param object playerView: Отображение экземпляра проигрывателя
:param object editable: Режим редактирования компонента
:returns: :js:class:`AS.FORMS.View`
.. js:function:: makeBus(object)
Создать шину событий для объекта.
Используется для добавления кастомных событий компоненту.
:param object object: Любой объект
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment