You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
432 B
15 lines
432 B
2 years ago
|
import $safeEls = require('./$safeEls');
|
||
|
import types = require('./types');
|
||
|
|
||
|
declare namespace $attr {
|
||
|
function remove(element: $safeEls.El, name: string): void;
|
||
|
}
|
||
|
declare function $attr(element: $safeEls.El, name: string, value: string): void;
|
||
|
declare function $attr(
|
||
|
element: $safeEls.El,
|
||
|
attributes: types.PlainObj<string>
|
||
|
): void;
|
||
|
declare function $attr(element: $safeEls.El, name: string): string;
|
||
|
|
||
|
export = $attr;
|