Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: Tag Data(string, object)

  • Declared in: RT.TagSoup.Tag

Declaration

public Tag Data(
    string key,
    object value
)

Summary

Specifies a data attribute for this tag.

Parameters

stringkey The key. For example, if you pass in name here, the attribute will be data-name="...".
objectvalue The value for the data attribute.

Returns

The same tag.