class Opal::HTML::Node

Defined in:

opal/html/parser.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : TagType, content : String = "") #

[View source]

Instance Method Detail

def alt : String | Nil #

[View source]
def attributes : Hash(String, String) #

[View source]
def attributes=(attributes : Hash(String, String)) #

[View source]
def children : Array(Node) #

[View source]
def children=(children : Array(Node)) #

[View source]
def content : String #

[View source]
def content=(content : String) #

[View source]
def href : String | Nil #

[View source]
def src : String | Nil #

[View source]
def type : TagType #

[View source]
def type=(type : TagType) #

[View source]