Search
Preparing search index...
The search index is not available
vusion-api
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"fs/JSFile"
JSFile
Class JSFile
Hierarchy
File
JSFile
Index
Constructors
constructor
Properties
_change
Listeners
_mini
Change
Listeners
base
Name
content
ext
Name
file
Name
full
Path
handler
is
Directory
is
Open
is
Saving
is
Vue
is
Watched
title
Methods
add
Event
Listener
close
force
Open
load
on
Change
on
Mini
Change
open
parse
remove
Event
Listener
save
watch
fetch
Constructors
constructor
new JSFile
(
fullPath
:
string
)
:
JSFile
Parameters
fullPath:
string
Returns
JSFile
Properties
_change
Listeners
_change
Listeners
:
Array
<
Function
>
_mini
Change
Listeners
_mini
Change
Listeners
:
Array
<
Function
>
base
Name
base
Name
:
string
content
content
:
Buffer
|
string
ext
Name
ext
Name
:
string
file
Name
file
Name
:
string
full
Path
full
Path
:
string
handler
handler
:
ScriptHandler
is
Directory
is
Directory
:
boolean
is
Open
is
Open
:
boolean
is
Saving
is
Saving
:
boolean
is
Vue
is
Vue
:
boolean
is
Watched
is
Watched
:
boolean
title
title
:
string
Methods
add
Event
Listener
add
Event
Listener
(
eventName
:
string
, listener
:
Function
)
:
void
Parameters
eventName:
string
listener:
Function
Returns
void
close
close
(
)
:
void
Returns
void
force
Open
force
Open
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Protected
load
load
(
)
:
Promise
<
Buffer
>
Returns
Promise
<
Buffer
>
on
Change
on
Change
(
event
:
string
, filePath
:
string
, key
?:
string
, hash
?:
string
)
:
void
Parameters
event:
string
filePath:
string
Optional
key:
string
Optional
hash:
string
Returns
void
on
Mini
Change
on
Mini
Change
(
event
:
string
, filePath
:
string
, key
?:
string
, hash
?:
string
)
:
Promise
<
void
>
Parameters
event:
string
filePath:
string
Optional
key:
string
Optional
hash:
string
Returns
Promise
<
void
>
open
open
(
)
:
void
|
Promise
<
void
>
Returns
void
|
Promise
<
void
>
parse
parse
(
)
:
ScriptHandler
Returns
ScriptHandler
remove
Event
Listener
remove
Event
Listener
(
eventName
:
string
, listener
:
Function
)
:
void
Parameters
eventName:
string
listener:
Function
Returns
void
save
save
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
watch
watch
(
listener
:
(
eventName
:
string
, filePath
:
string
)
=>
void
)
:
FSWatcher
Parameters
listener:
(
eventName
:
string
, filePath
:
string
)
=>
void
(
eventName
:
string
, filePath
:
string
)
:
void
Parameters
eventName:
string
filePath:
string
Returns
void
Returns
FSWatcher
Static
fetch
fetch
(
fullPath
:
string
)
:
JSFile
Parameters
fullPath:
string
Returns
JSFile
Globals
"fs/JSFile"
JSFile
constructor
_change
Listeners
_mini
Change
Listeners
base
Name
content
ext
Name
file
Name
full
Path
handler
is
Directory
is
Open
is
Saving
is
Vue
is
Watched
title
add
Event
Listener
close
force
Open
load
on
Change
on
Mini
Change
open
parse
remove
Event
Listener
save
watch
fetch
Generated using
TypeDoc