Class RmlDocument
Inheritance
BaseObject
RmlDocument
Inherited Members
RmlElement.type
RmlElement.valid
RmlElement.id
RmlElement.destroy
RmlElement.getMetaDataKeys
RmlElement.getSyncedMeta
RmlElement.hasSyncedMeta
RmlElement.getSyncedMetaKeys
RmlElement.refCount
Package: @altmp/altv-types
Syntax
class RmlDocument extends RmlElement
Constructors
|
Improve this Doc
View Source
RmlDocument(string)
Declaration
RmlDocument(url: string): RmlDocument
Parameters
Type |
Name |
Description |
string |
url |
|
Properties
|
Improve this Doc
View Source
title
Declaration
Property Value
|
Improve this Doc
View Source
sourceUrl
Declaration
public readonly sourceUrl: string
Property Value
|
Improve this Doc
View Source
isVisible
Declaration
public readonly isVisible: boolean
Property Value
|
Improve this Doc
View Source
isModal
Declaration
public readonly isModal: boolean
Property Value
|
Improve this Doc
View Source
body
Declaration
public readonly body: RmlElement
Property Value
Methods
|
Improve this Doc
View Source
getByID(number)
Declaration
public static getByID(id: number): null | RmlDocument
Parameters
Type |
Name |
Description |
number |
id |
|
Returns
|
Improve this Doc
View Source
show(boolean, boolean)
Declaration
public show(isModal?: boolean, focused?: boolean): void
Parameters
Type |
Name |
Description |
boolean |
isModal |
|
boolean |
focused |
|
|
Improve this Doc
View Source
hide()
Declaration
|
Improve this Doc
View Source
update()
Declaration
|
Improve this Doc
View Source
createElement(string)
Declaration
public createElement(tag: string): RmlElement
Parameters
Type |
Name |
Description |
string |
tag |
|
Returns
|
Improve this Doc
View Source
createTextNode(string)
Declaration
public createTextNode(text: string): RmlElement
Parameters
Type |
Name |
Description |
string |
text |
|
Returns