Search
Preparing search index...
The search index is not available
SavageDOM
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Composite_Primitive
Class Composite_Primitive
Hierarchy
FilterPrimitive
<
SVGFECompositeElement
,
Composite_Attributes
>
Composite_Primitive
Index
Constructors
constructor
Properties
_node
_style
context
Accessors
bounding
Box
id
node
Methods
add
animate
Attribute
clone
clone
Node
copy
Style
From
destroy
flush
get
Attribute
get
Children
get
Event
get
Events
link
Dynamic
Attribute
render
Attribute
set
Attribute
set
Attributes
to
String
Constructors
constructor
new
Composite_
Primitive
(
filter
:
Filter
, attrs
?:
Partial
<
Composite_Attributes
>
)
:
Composite_Primitive
Parameters
filter:
Filter
Optional
attrs:
Partial
<
Composite_Attributes
>
Returns
Composite_Primitive
Properties
Protected
_node
_node
:
SVGFECompositeElement
Protected
_style
_style
:
CSSStyleDeclaration
context
context
:
Context
Accessors
bounding
Box
get
boundingBox
(
)
:
Box
Returns
Box
id
get
id
(
)
:
string
Returns
string
node
get
node
(
)
:
SVGFECompositeElement
Returns
SVGFECompositeElement
Methods
add
add
(
el
:
Element
<
SVGElement
>
|
SVGElement
)
:
void
Parameters
el:
Element
<
SVGElement
>
|
SVGElement
Returns
void
animate
Attribute
animate
Attribute<Attr>
(
name
:
Attr
, val
:
ATTRIBUTES[Attr]
, duration
:
number
, easing
:
EasingFunction
)
:
Promise
<
number
>
|
undefined
Type parameters
Attr
:
keyof Composite_Attributes
Parameters
name:
Attr
val:
ATTRIBUTES[Attr]
duration:
number
easing:
EasingFunction
Returns
Promise
<
number
>
|
undefined
clone
clone
(
deep
?:
boolean
, id
?:
string
)
:
Element
<
SVGFECompositeElement
,
Composite_Attributes
,
FilterPrimitive_Events
>
Parameters
Default value
deep:
boolean
= true
Default value
id:
string
= randomShortStringId()
Returns
Element
<
SVGFECompositeElement
,
Composite_Attributes
,
FilterPrimitive_Events
>
Protected
clone
Node
clone
Node
(
deep
?:
boolean
)
:
SVGFECompositeElement
Parameters
Default value
deep:
boolean
= true
Returns
SVGFECompositeElement
copy
Style
From
copy
Style
From
(
el
:
Element
<
SVGElement
,
Composite_Attributes
,
any
>
)
:
void
copy
Style
From
(
el
:
Element
<
SVGElement
,
Composite_Attributes
,
any
>
, includeExclude
:
object
, defaultInclude
:
boolean
)
:
void
Parameters
el:
Element
<
SVGElement
,
Composite_Attributes
,
any
>
Returns
void
Parameters
el:
Element
<
SVGElement
,
Composite_Attributes
,
any
>
includeExclude:
object
defaultInclude:
boolean
Returns
void
destroy
destroy
(
)
:
void
Returns
void
flush
flush
(
)
:
Promise
<
number
>
Returns
Promise
<
number
>
get
Attribute
get
Attribute<Attr>
(
name
:
Attr
)
:
string
|
null
Type parameters
Attr
:
keyof Composite_Attributes
Parameters
name:
Attr
Returns
string
|
null
get
Children
get
Children
(
)
:
Element
<
SVGElement
>
[]
Returns
Element
<
SVGElement
>
[]
get
Event
get
Event<EVENT>
(
event
:
EVENT
)
:
Observable
<
EVENTS[EVENT]
>
Type parameters
EVENT
:
keyof FilterPrimitive_Events
Parameters
event:
EVENT
Returns
Observable
<
EVENTS[EVENT]
>
get
Events
get
Events
(
...
events
:
keyof EVENTS
[]
)
:
Observable
<
Event
>
Parameters
Rest
...
events:
keyof EVENTS
[]
Returns
Observable
<
Event
>
link
Dynamic
Attribute
link
Dynamic
Attribute<Attr>
(
name
:
Attr
, val
:
Observable
<
ATTRIBUTES[Attr]
>
)
:
Subscription
Type parameters
Attr
:
keyof Composite_Attributes
Parameters
name:
Attr
val:
Observable
<
ATTRIBUTES[Attr]
>
Returns
Subscription
render
Attribute
render
Attribute<Attr>
(
name
:
Attr
, val
:
ATTRIBUTES[Attr]
)
:
void
Type parameters
Attr
:
keyof Composite_Attributes
Parameters
name:
Attr
val:
ATTRIBUTES[Attr]
Returns
void
set
Attribute
set
Attribute<Attr>
(
name
:
Attr
, val
:
ATTRIBUTES[Attr]
)
:
void
Type parameters
Attr
:
keyof Composite_Attributes
Parameters
name:
Attr
val:
ATTRIBUTES[Attr]
Returns
void
set
Attributes
set
Attributes
(
attrs
:
Partial
<
Composite_Attributes
>
)
:
void
Parameters
attrs:
Partial
<
Composite_Attributes
>
Returns
void
to
String
to
String
(
)
:
string
Returns
string
Globals
Composite_
Primitive
constructor
_node
_style
context
bounding
Box
id
node
add
animate
Attribute
clone
clone
Node
copy
Style
From
destroy
flush
get
Attribute
get
Children
get
Event
get
Events
link
Dynamic
Attribute
render
Attribute
set
Attribute
set
Attributes
to
String
Generated using
TypeDoc