mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Implement TextTrack.id
This commit is contained in:
committed by
Andreas Kling
parent
ab91a616b8
commit
ba8e77df16
Notes:
sideshowbarker
2024-07-17 18:46:57 +09:00
Author: https://github.com/jamierocks Commit: https://github.com/LadybirdBrowser/ladybird/commit/ba8e77df16 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/447 Reviewed-by: https://github.com/awesomekling
@@ -64,6 +64,17 @@ void TextTrack::set_language(String language)
|
||||
m_language = language;
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/media.html#dom-texttrack-id
|
||||
String TextTrack::id()
|
||||
{
|
||||
return m_id;
|
||||
}
|
||||
|
||||
void TextTrack::set_id(String id)
|
||||
{
|
||||
m_id = id;
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/media.html#handler-texttrack-oncuechange
|
||||
void TextTrack::set_oncuechange(WebIDL::CallbackType* event_handler)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user