Movatterモバイル変換


[0]ホーム

URL:


  • Preparing search index...
  • The search index is not available
bbcode-ast

Interface NodeConstructorParams

Parameters for constructing a new Node object.

interfaceNodeConstructorParams{
    attributes?:{
        [key:string]:string;
    };
    name:string;
    value?:string;
}

Properties

Optionalattributes

attributes?:{
    [key:string]:string;
}

The attributes of the node.

Ref:Node.attributes

Type declaration

  • [key:string]:string

Example

`[img width=100 height=100]https://example.com/image.png[/img]` ->`{ width: "100", height: "100" }`

name

name:string

The name of the node.

Ref:Node.name

Example

`[b]Hello World![/b]` ->`b`

Optionalvalue

value?:string

The value of the node.

Ref:Node.value

Example

`[color=red]Hello World![/color]` ->`red`

Settings

Member Visibility

Theme

On This Page

Generated usingTypeDoc


[8]ページ先頭

©2009-2025 Movatter.jp