Hiyve Components - v1.0.0
Preparing search index...
@hiyve/courses
@hiyve/courses
addSection
Function addSection
addSection
(
course
:
Course
,
input
:
{
id
?:
string
;
title
:
string
}
,
index
?:
number
,
)
:
{
course
:
Course
;
section
:
Section
}
Add a section at
index
(default: the end). Returns the course and the new section.
Parameters
course
:
Course
input
:
{
id
?:
string
;
title
:
string
}
Optional
index
:
number
Returns
{
course
:
Course
;
section
:
Section
}
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Hiyve Components - v1.0.0
Loading...
Add a section at
index(default: the end). Returns the course and the new section.