اكثر اسئلة واجوبة المقابلات طلبا والاختبارات عبر الإنترنت
منصة تعليمية للتحضير للمقابلات والاختبارات عبر الإنترنت والدروس والتدريب المباشر

طوّر مهاراتك من خلال مسارات تعلم مركزة واختبارات تجريبية ومحتوى جاهز للمقابلات.

يجمع WithoutBook أسئلة المقابلات حسب الموضوع والاختبارات العملية عبر الإنترنت والدروس وأدلة المقارنة في مساحة تعلم متجاوبة واحدة.

التحضير للمقابلة

الاختبارات التجريبية

اجعلها الصفحة الرئيسية

احفظ هذه الصفحة في المفضلة

الاشتراك عبر البريد الإلكتروني
مقابلات تجريبية مباشرة من WithoutBook Knockout JS موضوعات مقابلات ذات صلة: 19

Interview Questions and Answers

تعرّف على اهم اسئلة واجوبة مقابلات Knockout JS للمبتدئين واصحاب الخبرة للاستعداد لمقابلات العمل.

إجمالي الاسئلة: 25 Interview Questions and Answers

افضل مقابلة تجريبية مباشرة يجب مشاهدتها قبل المقابلة

تعرّف على اهم اسئلة واجوبة مقابلات Knockout JS للمبتدئين واصحاب الخبرة للاستعداد لمقابلات العمل.

Interview Questions and Answers

ابحث عن سؤال لعرض الاجابة.

اسئلة واجوبة المستوى المتوسط / من سنة إلى خمس سنوات خبرة

سؤال 1

Explain two-way data binding in Knockout JS.

Two-way data binding in Knockout JS ensures that when the UI changes, the underlying data model is automatically updated, and vice versa.

Example:

HTML: ; JavaScript: var viewModel = { name: ko.observable('John') };
احفظ للمراجعة

احفظ للمراجعة

احفظ هذا العنصر في الإشارات المرجعية، او حدده كصعب، او ضعه في مجموعة مراجعة.

افتح مكتبتي التعليمية
هل هذا مفيد؟
اضف تعليقا عرض التعليقات
سؤال 2

How does the 'foreach' binding work in Knockout JS?

The 'foreach' binding is used to iterate over an array and generate content for each item in the array within the specified HTML element.

Example:

HTML: ; JavaScript: var items = ko.observableArray(['Item 1', 'Item 2']); ko.applyBindings({ items: items });
احفظ للمراجعة

احفظ للمراجعة

احفظ هذا العنصر في الإشارات المرجعية، او حدده كصعب، او ضعه في مجموعة مراجعة.

افتح مكتبتي التعليمية
هل هذا مفيد؟
اضف تعليقا عرض التعليقات
سؤال 3

Explain the 'visible' binding in Knockout JS.

The 'visible' binding is used to control the visibility of an HTML element based on the truthiness of the associated observable or expression.

Example:

Visible Content
; var viewModel = { showElement: ko.observable(true) };
احفظ للمراجعة

احفظ للمراجعة

احفظ هذا العنصر في الإشارات المرجعية، او حدده كصعب، او ضعه في مجموعة مراجعة.

افتح مكتبتي التعليمية
هل هذا مفيد؟
اضف تعليقا عرض التعليقات
سؤال 4

Explain the concept of 'template' binding in Knockout JS.

The 'template' binding is used to render content based on a template defined elsewhere in the HTML or within the view model.

Example:

; var viewModel = { person: { name: 'John' } };
احفظ للمراجعة

احفظ للمراجعة

احفظ هذا العنصر في الإشارات المرجعية، او حدده كصعب، او ضعه في مجموعة مراجعة.

افتح مكتبتي التعليمية
هل هذا مفيد؟
اضف تعليقا عرض التعليقات
سؤال 5

What is the purpose of the 'attr' binding in Knockout JS?

The 'attr' binding is used to set or remove one or more attributes of an HTML element based on the value of the associated observable or expression.

Example:

; var viewModel = { imageUrl: 'path/to/image.jpg', imageAlt: 'Image Alt Text' };
احفظ للمراجعة

احفظ للمراجعة

احفظ هذا العنصر في الإشارات المرجعية، او حدده كصعب، او ضعه في مجموعة مراجعة.

افتح مكتبتي التعليمية
هل هذا مفيد؟
اضف تعليقا عرض التعليقات
سؤال 6

How can you handle key events in Knockout JS?

You can use the 'event' binding to handle various events, including key events, on HTML elements.

Example:

; var viewModel = { handleKeyPress: function(data, event) { console.log('Key pressed:', event.key); } };
احفظ للمراجعة

احفظ للمراجعة

احفظ هذا العنصر في الإشارات المرجعية، او حدده كصعب، او ضعه في مجموعة مراجعة.

افتح مكتبتي التعليمية
هل هذا مفيد؟
اضف تعليقا عرض التعليقات
سؤال 7

Explain the 'css' binding in Knockout JS.

The 'css' binding is used to apply or remove CSS classes to an HTML element based on the truthiness of the associated observable or expression.

Example:

Content
; var viewModel = { isActive: ko.observable(true), isDisabled: ko.observable(false) };
احفظ للمراجعة

احفظ للمراجعة

احفظ هذا العنصر في الإشارات المرجعية، او حدده كصعب، او ضعه في مجموعة مراجعة.

افتح مكتبتي التعليمية
هل هذا مفيد؟
اضف تعليقا عرض التعليقات
سؤال 8

What is the purpose of the 'foreach' and 'as' combination in Knockout JS?

The 'foreach' and 'as' combination is used to alias the variable name used to represent each item in an array when using the 'foreach' binding.

Example:

; var items = ko.observableArray(['Item 1', 'Item 2']);
احفظ للمراجعة

احفظ للمراجعة

احفظ هذا العنصر في الإشارات المرجعية، او حدده كصعب، او ضعه في مجموعة مراجعة.

افتح مكتبتي التعليمية
هل هذا مفيد؟
اضف تعليقا عرض التعليقات
سؤال 9

Explain the purpose of the 'hasfocus' binding in Knockout JS.

The 'hasfocus' binding is used to bind an observable to the focus state of an element, allowing you to track and control focus programmatically.

Example:

; var viewModel = { isFocused: ko.observable(true) };
احفظ للمراجعة

احفظ للمراجعة

احفظ هذا العنصر في الإشارات المرجعية، او حدده كصعب، او ضعه في مجموعة مراجعة.

افتح مكتبتي التعليمية
هل هذا مفيد؟
اضف تعليقا عرض التعليقات
سؤال 10

How can you handle submit events in Knockout JS?

You can use the 'submit' binding to associate a function with the submit event of a form element.

Example:

  ; var viewModel = { handleSubmit: function() { alert('Form submitted!'); } };
احفظ للمراجعة

احفظ للمراجعة

احفظ هذا العنصر في الإشارات المرجعية، او حدده كصعب، او ضعه في مجموعة مراجعة.

افتح مكتبتي التعليمية
هل هذا مفيد؟
اضف تعليقا عرض التعليقات
سؤال 11

Explain the 'with' binding in Knockout JS.

The 'with' binding is used to change the context for descendant elements, allowing you to bind against a different object.

Example:

; var viewModel = { person: { name: 'John' } };
احفظ للمراجعة

احفظ للمراجعة

احفظ هذا العنصر في الإشارات المرجعية، او حدده كصعب، او ضعه في مجموعة مراجعة.

افتح مكتبتي التعليمية
هل هذا مفيد؟
اضف تعليقا عرض التعليقات

الاكثر فائدة حسب تقييم المستخدمين:

حقوق النشر © 2026، WithoutBook.